summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Handle kwargs passed to get_style_guidebackwards-compat-apiIan Cordasco2016-07-071-0/+10
|
* Fill in most of the legacy APIIan Cordasco2016-07-074-59/+153
| | | | | This does not handle setting custom options via the parameters to get_style_guide.
* Simplify our test environmentsIan Cordasco2016-06-301-16/+0
|
* Clean up setup.py a bitIan Cordasco2016-06-301-22/+4
|
* Fix up MANIFEST.inIan Cordasco2016-06-301-3/+5
|
* Add the skeleton for the LegacyStyleGuideIan Cordasco2016-06-301-0/+47
|
* Update defaultsIan Cordasco2016-06-301-2/+2
| | | | McCabe reports C90* not C* and Flake8 2 used to exclude .eggs and *.egg
* Add README to lintersIan Cordasco2016-06-291-0/+4
| | | | Add basepythons to dogfood and readme
* Remove exc_info for logging.exceptionIan Cordasco2016-06-291-1/+1
| | | | It's redundant and the docs say explicitly that it's ignored.
* Add 3.0.0b2 release notes3.0.0b2Ian Cordasco2016-06-281-0/+16
|
* Revert "Prefer `.flake8` if present for options."Ian Cordasco2016-06-282-15/+13
| | | | | | The intended behaviour already existed. This reverts commit db9d4ad8b4cc2aab1ef8349dc969faa8f589e9cc.
* Iterate over the checkers fewer timesIan Cordasco2016-06-281-4/+17
|
* Bump version for next beta releaseIan Cordasco2016-06-281-1/+1
|
* Add a dogfood testenvIan Cordasco2016-06-281-1/+12
|
* Fix some logging and logging levelsIan Cordasco2016-06-282-5/+5
|
* Add python and platform details to --versionIan Cordasco2016-06-283-3/+24
| | | | | | | | | | | 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.
* Handle optional parameters that were never supportedIan Cordasco2016-06-285-20/+49
| | | | | | | | | | | | | | | | | 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-283-2/+31
| | | | | | | | 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
* Parse hyphenated config names alsoIan Cordasco2016-06-284-2/+37
| | | | | | | | | | | | | | | 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
* Handle EarlyQuits and KeyboardInterruptsIan Cordasco2016-06-261-0/+4
|
* Add high-level overview of how things fit togetherIan Cordasco2016-06-263-0/+131
| | | | | | There are now a lot of moving parts in Flake8. It can't help to give new developers a high-level overview of how they all fit together to make Flake8. =)
* Search current directory if no paths are specifiedIan Cordasco2016-06-264-7/+27
| | | | | | This fixes a regression in behaviour from 2.x to 3. Closes #150
* Open our README appropriatelyIan Cordasco2016-06-261-1/+2
| | | | | | Systems without a LOCALE present will not be able to read our file appropriately on Python 3. This was causing our Python 3 CI jobs on GitLab to fail.
* Add forgotten release noteIan Cordasco2016-06-261-0/+3
|
* Update compatibility docsIan Cordasco2016-06-261-2/+8
|
* Update the READMEIan Cordasco2016-06-251-60/+40
|
* Merge branch 'add-gitlab-ci' into 'master' Ian Cordasco2016-06-252-3/+25
|\ | | | | | | | | | | | | | | | | | | | | Enable GitLab CI *Description of changes* Add a `.gitlab-ci.yml` so we can have multiple services (including Jenkins, once I fix it). *Related to:* None See merge request !65
| * Fix linters to use src/flake8Ian Cordasco2016-06-251-2/+2
| |
| * Add python*-dev packagesIan Cordasco2016-06-251-1/+1
| |
| * Enable GitLab CIIan Cordasco2016-06-252-1/+23
| |
* | Merge branch 'prefer-.flake8' into 'master' Ian Cordasco2016-06-252-13/+15
|\ \ | |/ |/| | | | | | | | | Prefer `.flake8` if present for options. This is a reprise of !63 for 3.0. See merge request !64
| * Prefer `.flake8` if present for options.Tom Prince2016-06-252-13/+15
|/ | | | | | 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.
* Add missing release notesIan Cordasco2016-06-253-0/+22
|
* Add the long description back to setup.pyIan Cordasco2016-06-251-1/+1
|
* Merge branch 'origin/proposed/3.0' into master3.0.0b1Ian Cordasco2016-06-25167-3162/+11120
|\
| * Add more release notes for 3.0.0b1Ian Cordasco2016-06-251-2/+14
| |
| * Add release note for 2.6.1Ian Cordasco2016-06-251-0/+6
| |
| * Update the packaging so wheels workIan Cordasco2016-06-253-1/+18
| |
| * Update the copyright in the LICENSEIan Cordasco2016-06-251-1/+1
| |
| * Update the MANIFEST.in for sdistsIan Cordasco2016-06-251-1/+3
| | | | | | | | Let's include our documentation, tests, and src code appropriately
| * Move flake8 into srcIan Cordasco2016-06-2532-4/+8
| | | | | | | | | | This is an emerging best practice and there is little reason to not follow it
| * Rename dev subdirectory to plugin-developmentIan Cordasco2016-06-257-4/+4
| | | | | | | | This should make the contents clearer
| * Add extra information to plugin dev indexIan Cordasco2016-06-251-5/+43
| |
| * Add some notes for users about how to use pluginsIan Cordasco2016-06-252-0/+67
| |
| * Add descriptions of pycodestyle and mccableIan Cordasco2016-06-241-1/+11
| |
| * Add missing - to sub-directoriesproposed/3.0Ian Cordasco2016-06-221-1/+1
| |
| * Add more definitions to glossaryIan Cordasco2016-06-221-1/+18
| |
| * Correct example register_options methodIan Cordasco2016-06-221-1/+2
| |
| * Start a glossary of termsIan Cordasco2016-06-222-2/+33
| |
| * Trim whitespace from cross-compat plugin docsIan Cordasco2016-06-221-2/+2
| |