-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BanditBear: Tests to execute option missing #2386
Comments
Please assign this to me 😃 |
Why is this option useful? |
Sometime we want only a few tests to run. We can do that in our current setting of BanditBear by giving a long list of tests to skip in Note: I found it odd that we don't have an option to run some specific tests. There is a lot more options https://github.com/openstack/bandit#usage |
For example: what if I wants to run only Here is the list of tests with test IDs.
|
ok, we need to look at other bears which have similar lists of checks, and work towards a consistent settings system for these. pycodestyle and pydocstyle do have similar lists of checks and command line options to include/select or ignore various checks. |
This adds additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
@sangamcse , I dont see any reply to my query at #2386 (comment) |
@jayvdb, There are another 2 bears (PEP8NotebookBear, PEP8Bear) of |
@sangamcse , we dont care what the linter API is. coala wraps linters to hide their differences. We provide setting names which are more consistent, to make it easier for users to manage many different tools. |
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
@jayvdb, So I looked at other bears which have similar lists of checks and I have noted their command type also. Here it is: Note: I have tried to write a CheckSelector. Please suggest me and correct me if I'm doing anything wrong. 😃 |
Note there is also #2257 , by @manankalra |
I think these are a slightly different concept, especially directive & roles, as these are ignoring syntax in the rst which rstcheck doesnt know about. |
Oh. I tried to find #2257 PR based on your suggestion earlier on gitter but was unable to find it. |
Right. So the remaining design question is whether we should be trying to merge the two varieties:
What is in the scope of this issue is select/unselect are two mutually exclusive lists, and at least that is a coalib core enhancement to Also in the scope of this issue is the settings names should be rather consistent, and have prefixes for each bear, so that the user can have
We need to determine the best naming convention, based on existing bears if possible. |
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
This adds an additional feature to run the bear using a list of selected tests IDs. Closes coala#2386
bandit
has an option-t comma-separated list of test IDs to run
which is missing in BanditBear.difficulty/low
The text was updated successfully, but these errors were encountered: