-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
flake8 config options count
and statistics
causing inference with yesqa run
#132
Comments
Looking more I see that this is similar to Issue #43. There you mentioned #43 (comment)
which lead to PyCQA/flake8#995, but is there a generic way to disable options for calling tools that users should be using? |
dupe: PyCQA/flake8#1458 I would recommend not using those options, they're kinda noisy/ useless imo anyway |
An alternative that also works is to remove them from the |
* Add and apply yesqa pre-commit hook. * Move flake8 options 'count' and 'statistics' from the flake8 config in setup.cfg to args for the flake8 pre-commit hook to avoid problems with yesqa. - c.f. asottile/yesqa#132
Hi. Thanks for making
yesqa
. I am trying to runyesqa
for a project but am finding that for reasons that are not obvious to me that theflake8
options that I have set insetup.cfg
are apparently causing aValueError
fromyesqa
.Specifically, the
count = True
andstatistics = True
are the problems.If I comment them out/change them to
False
thenyesqa
is able to run without issues. If you have advice on how to mitigate this that would be quite helpful.Reproducer
I'll do this all inside a Docker image and hopefully that isn't too annoying for any copy and pasting
The text was updated successfully, but these errors were encountered: