| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
This does not handle setting custom options via the parameters to
get_style_guide.
|
| | |
|
| |
|
|
| |
McCabe reports C90* not C* and Flake8 2 used to exclude .eggs and *.egg
|
| |
|
|
| |
It's redundant and the docs say explicitly that it's ignored.
|
| |
|
|
|
|
| |
The intended behaviour already existed.
This reverts commit db9d4ad8b4cc2aab1ef8349dc969faa8f589e9cc.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
On Flake8 2.x we added the information about the implementation,
version, and operating system to the --version output to make helping
users easier. In short they can pretty simply just give us the output
from
flake8 --version
And we can get a lot of the information that we need.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, pycodestyle never introspected the argument names for
classes except to require that ``tree`` be an argument it could pass.
For Flake8 3.0, we lifted that restriction, but old plugins seem to
have cargo-culted their __init__ signature to be
def __init__(self, tree, builtins=None):
For some yet unknown reason. This was causing an AttributeError. By
updating flake8.utils.parameters_for to return a dictionary that
indicates whether the parameter is required or not, we can side-step
this by simply ignoring the parameter if it has a default value and
we cannot provide it.
Closes #151
|
| |
|
|
|
|
|
|
| |
Previously the --select was only ever populated to E,F,W,C and so
plugins would not be reported when not off-by-default. This adds a
tiny shim so that we enable plugins that are not off-by-default and
:x
:x
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously Flake8 parsed both
max-line-length = 110
And
max_line_length = 110
From the config file without issue. When we updated our logic, I forgot
to test for that and we lost that behaviour temporarily.
Closes #152
|
| | |
|
| |
|
|
|
|
| |
This fixes a regression in behaviour from 2.x to 3.
Closes #150
|
| |
|
|
|
|
| |
If somebody explicitly has a `.flake8` file, presumably they intend to
put flake8 configuration in it, so prefer it to the generic `setup.cfg`
and `tox.ini` from pycodestyle.
|
| | |
|
|
|
This is an emerging best practice and there is little reason to not
follow it
|