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
extend-ignore
and extend-select
options seem to be ignored
#221
Comments
Thanks for reporting. What does this plugin need to do to fix this? Happy to take a PR that fixes it. Will dig in if I get some time eventually. |
@cooperlees I don't know, I hadn't heard of this plugin until yesterday. It looks helpful, thanks for your work. I was following Black's documentation suggesting a configuration that did not work for me because of this issue. I've just stopped using |
Bugbear's built-in filtering for opinionated warnings isn't aware of Lines 152 to 154 in 1c47a16
There is some talk in #218 (comment) about removing the |
I'm finding that
When I use that, I do see that
I see the I'm running the latest flake8 and flake8-bugbear: $ flake8 --version
4.0.1 (flake8-bugbear: 22.3.23, flake8_isort: 4.1.1, mccabe: 0.6.1, pycodestyle: 2.8.0, pyflakes: 2.4.0) CPython 3.8.3 on Darwin |
Can you reproduce with flake8@main? This may be PyCQA/flake8#284 (e.g. https://gist.github.com/sco1/7c544878bde10163258435f9e8ae5b11), which is fixed but not part of a release yet. |
Thanks for getting back to me @sco1 (and re-opening cooperlees), and promising that there's an update in flake8 that may fix this! I tried the latest flake8 main with
Guessing from the stacktrace that this is because I don't have |
Before PyCQA/flake8#1576 it wasn't possible for It might be a better upstream question, though one answer we have already is to get rid of this block entirely. |
I am also running into this issue - also on latest flake and bugbear. |
If I use
--extend-ignore
or--extend-select
options, B950 is not taken into account.OK:
Not OK:
Versions:
The text was updated successfully, but these errors were encountered: