-
Notifications
You must be signed in to change notification settings - Fork 13
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
modifiedBlankLines() takes 7 positional arguments but 9 were given #138
Comments
I don't know why this is still used in Twisted. And there is also this upstream merge PyCQA/pycodestyle#733 My suggestion is to remove pycodestyle from twistedchecker and run pycodestyle as a separate job. |
I see. I flipped through the blame for tox.ini and following the thread it looks like twisted/twisted#1043 may have inadvertently pulled an optional twistedchecker task in while trying to consolidate linting? |
Thanks for the search. Twistedchecker didn't received much love in the last years |
Is this still broken? |
When running twisted's linting tox task, I got a traceback like this:
I think what happened was that pycodestyle updated its list of arguments for its blank lines check, such that it doesn't match with
modifiedBlankLinesCheck
anymore.I think this can be fixed by naively introducing the new arguments, but I haven't investigated the changes deeply enough to understand what the new parameters are for or whether the core API has changed enough to require a refactor of
modifiedBlankLines
beyond just changing the call signature. That said I was able to get the step to pass by modifying call signature in the code installed in my tox environment directly, so I suspect the changes are minor.The text was updated successfully, but these errors were encountered: