-
-
Notifications
You must be signed in to change notification settings - Fork 330
Description
I can't deal with another hundred duplicate issues -- be better open source users and read the changelog and search the issue tracker first
just to repeat the changes here since you're probably hitting one of these
--diff
is gone
yes, it's broken by design, please don't try and re-litigate decisions that were made months ago it's very draining.
a better alternative is git diff --name-only -z --diff-filter=d -- '*.py' | xargs -0 flake8
or utilize pre-commit run --from-ref=... --to-ref=...
ValueError: Error code '#' supplied to 'ignore' option does not match '^[A-Z]{1,3}[0-9]{0,3}$'
surprise surprise! your configuration has been silently wrong for years -- it is now explicitly erroring on an invalid configuration setting!
please review the flake8 docs where a warning has been present for quite some time now (^F inline comments)
this fixes a long-standing easy to make mistake:
[flake8]
extend-ignore =
E501 # using flake8-bugbear's B instead
this silently used to ignore B as well
TypeError: 'int'
/ 'choice
/ 'string' is not callable
for example #1751
the optparse
support was removed. it has been deprecated and warning for 2+ years.
this is not a flake8 problem, report to whatever plugin is erroring (you can find their code in your stacktrace)
I have put together a helpful guide in the PR: #1739
anything else
please email me directly but please please please do some research first to make sure it's actually a problem