`extend-ignore` and `extend-select` options seem to be ignored
See original GitHub issueIf I use --extend-ignore or --extend-select options, B950 is not taken into account.
OK:
▹ flake8 --select=E,B950 longline.py
longline.py:1:80: E501 line too long (109 > 79 characters)
longline.py:1:110: B950 line too long (109 > 79 characters)
▹ flake8 --select=E,B950 --ignore=E501 longline.py
longline.py:1:110: B950 line too long (109 > 79 characters)
Not OK:
▹ flake8 --extend-select=E,B950 longline.py
longline.py:1:80: E501 line too long (109 > 79 characters)
▹ flake8 --extend-select=E,B950 --ignore=E501 longline.py
▸ flake8 --select=E,B950 --extend-ignore=E501 longline.py
Versions:
▸ flake8 --version
4.0.1 (flake8-bugbear: 22.1.11, mccabe: 0.6.1, pycodestyle: 2.8.0,
pyflakes: 2.4.0) CPython 3.10.1 on Linux
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Full Listing of Options and Their Descriptions - Flake8
Show a description of how to use Flake8 and its options. ... This can be combined with both --ignore and --extend-ignore to achieve...
Read more >flake8 Documentation - Read the Docs
After parsing the configuration file, we determine the default ignore list. We use the defaults from the OptionManager and update those with the ......
Read more >Flake8: Ignore specific warning for entire file - Stack Overflow
As of Flake8 3.7.0 you can do this using the --per-file-ignores option. Command line example
Read more >Mailman 3 - code-quality - python.org
Mypy alternatives by Dan Stromberg 22 May '22 ... pylint ignore-patterns ... asking for option in Pyflakes --> handling Python built-in regex operations...
Read more >A Dotfile Manager with A Twist Built on Rust - Morioh
Out of the box, Twist will create and manage a Git repository for your dotfiles. The CLI was modeled after the Git CLI....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Can you reproduce with flake8@main? This may be https://github.com/PyCQA/flake8/issues/284 (e.g. https://gist.github.com/sco1/7c544878bde10163258435f9e8ae5b11), which is fixed but not part of a release yet.
I am also running into this issue - also on latest flake and bugbear.