summaryrefslogtreecommitdiff
path: root/src/flake8/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Remove exc_info for logging.exceptionIan Cordasco2016-06-291-1/+1
| | | | It's redundant and the docs say explicitly that it's ignored.
* Iterate over the checkers fewer timesIan Cordasco2016-06-281-4/+17
|
* Handle optional parameters that were never supportedIan Cordasco2016-06-281-1/+9
| | | | | | | | | | | | | | | | | 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
* Enable plugins automatically during registrationIan Cordasco2016-06-281-0/+11
| | | | | | | | 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
* Merge branch 'origin/proposed/3.0' into master3.0.0b1Ian Cordasco2016-06-251-0/+1
|
* Move flake8 into srcIan Cordasco2016-06-255-0/+742
This is an emerging best practice and there is little reason to not follow it