$ flake8 --version
4.0.1 (flake8-bonk: 0.1.0, mccabe: 0.6.1, pycodestyle: 2.8.0, pyflakes: 2.4.0) CPython 3.10.2 on Darwin
$ flake8 -vv ./bonk.py
...
flake8.main.application MainProcess 152 INFO Finished running
flake8.main.application MainProcess 152 INFO Reporting errors
flake8.style_guide MainProcess 152 DEBUG Deciding if "BONK001" should be reported
flake8.style_guide MainProcess 152 DEBUG The user configured "BONK001" to be "Ignored.Implicitly", "Ignored.Explicitly"
flake8.style_guide MainProcess 152 DEBUG "BONK001" will be "Decision.Ignored"
flake8.style_guide MainProcess 152 DEBUG Violation(code='BONK001', filename='./bonk.py', line_number=1, column_number=2, text='Bonk!', physical_line='class BonkChecker:\n') is not inline ignored
flake8.main.application MainProcess 152 INFO Found a total of 1 violations and reported 0
$ flake8 -vv --extend-select=BONK001 ./bonk.py
...
flake8.main.application MainProcess 241 INFO Finished running
flake8.main.application MainProcess 241 INFO Reporting errors
flake8.style_guide MainProcess 241 DEBUG Deciding if "BONK001" should be reported
flake8.style_guide MainProcess 242 DEBUG The user configured "BONK001" to be "Selected.Explicitly", "Ignored.Explicitly"
flake8.style_guide MainProcess 242 DEBUG "BONK001" will be "Decision.Ignored"
flake8.style_guide MainProcess 242 DEBUG Violation(code='BONK001', filename='./bonk.py', line_number=1, column_number=2, text='Bonk!', physical_line='class BonkChecker:\n') is not inline ignored
flake8.main.application MainProcess 242 INFO Found a total of 1 violations and reported 0
This should be fixed by: PyCQA/flake8#1576
$ flake8 -vv --extend-select=BONK001 ./bonk.py
flake8.main.application MainProcess 130 INFO Finished running
flake8.main.application MainProcess 130 INFO Reporting errors
flake8.style_guide MainProcess 130 DEBUG The user configured 'BONK001' to be <Selected.Explicitly: 'explicitly selected'>, <Ignored.Implicitly: 'implicitly ignored'>
flake8.style_guide MainProcess 131 DEBUG "BONK001" will be "Decision.Selected"
flake8.violation MainProcess 131 DEBUG Violation(code='BONK001', filename='./bonk.py', line_number=1, column_number=2, text='Bonk!', physical_line='class BonkChecker:\n') is not inline ignored
flake8.main.application MainProcess 131 INFO Found a total of 1 violations and reported 1
./bonk.py:1:2: BONK001 Bonk!