summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add https://pre-commit.com metadatapre_commit_configAnthony Sottile2018-11-212-0/+55
|
* Merge branch 'entrypoints' into 'master'Anthony Sottile2018-11-219-115/+59
|\ | | | | | | | | Replace setuptools with entrypoints See merge request pycqa/flake8!264
| * Replace setuptools with entrypointsAnthony Sottile2018-11-059-115/+59
| |
* | Merge branch 'grammar' into 'master'Anthony Sottile2018-11-115-5/+5
|\ \ | |/ |/| | | | | Grammar fixes See merge request pycqa/flake8!266
| * Grammar fixesVille Skyttä2018-11-115-5/+5
|/
* Merge branch 'per-file-style-guide' into 'master'Ian Stapleton Cordasco2018-10-299-19/+350
|\ | | | | | | | | | | | | Add support for per-file ignores in config Closes #156 See merge request pycqa/flake8!259
| * Add versionadded notes for optionsIan Stapleton Cordasco2018-10-271-0/+6
| |
| * Add documentation for --per-file-ignoresIan Stapleton Cordasco2018-10-271-0/+34
| |
| * Refactor to support the per-file-ignoresIan Stapleton Cordasco2018-10-273-20/+43
| | | | | | | | | | | | Most of the problems with our logic were due to not having the same logic as our exclude parameter. This refactors that out into a separate function so we can confidently achieve that.
| * Add tests for the expected behaviour of per-file-ignoresIan Stapleton Cordasco2018-10-271-0/+100
| | | | | | | | | | These show that there were some subtle bugs in how we were matching things and that there are bugs that need to be fixed.
| * Add support for per-file ignores in configIan Stapleton Cordasco2018-10-256-5/+173
| | | | | | | | | | | | | | | | | | This adds support for rules that ignore violation codes on a per-file basis. This takes a similar functional approach to https://github.com/snoack/flake8-per-file-ignores which allows for glob patterns like the `--exclude` option. Closes #156
* | Merge branch ↵Anthony Sottile2018-10-283-4/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 'defect/469-improve-inline-noqa-regex-comment-and-documentation' into 'master' Clearer docs, NOQA_INLINE_REGEXP comment - fixes #469 Closes #469 See merge request pycqa/flake8!262
| * | Clearer docs, NOQA_INLINE_REGEXP comment - fixes #469Jesaja Everling2018-10-283-4/+5
|/ /
* | Merge branch 'add-extend-ignore-to-violations-docs' into 'master'Ian Stapleton Cordasco2018-10-271-6/+29
|\ \ | |/ |/| | | | | Add documentation for `flake8 --extend-ignore` See merge request pycqa/flake8!258
| * Add documentation for `flake8 --extend-ignore`Lars Butler2018-10-261-6/+29
|/ | | | | Also highlight the behavioral differences between `flake --ignore` and `flake --extend-ignore`.
* Merge branch 'fixups' into 'master'Anthony Sottile2018-10-242-14/+13
|\ | | | | | | | | Fixups after 3.6.0 release See merge request pycqa/flake8!256
| * Fixups after 3.6.0 releaseAnthony Sottile2018-10-232-14/+13
|/
* Release v3.6.03.6.0Anthony Sottile2018-10-235-3/+122
|
* Merge branch 'match_newlines_py3_v2' into 'master'Anthony Sottile2018-10-232-6/+30
|\ | | | | | | | | | | | | Fix inconsistent newlines read from a file in python3 (try 2) Closes #457 See merge request pycqa/flake8!255
| * Be explicit about the bytes put into test filesAnthony Sottile2018-10-231-5/+6
| |
| * Revert "Merge branch 'revert-63b91c95' into 'master'"Anthony Sottile2018-10-232-6/+29
|/ | | | | This reverts commit ba2fb9c53a8316642249598f599bbf7608d54260, reversing changes made to 63b91c95ea7795e3c3c90f2d643f685bfff312e9.
* Merge branch 'revert-63b91c95' into 'master'Anthony Sottile2018-10-232-29/+6
|\ | | | | | | | | Revert "Merge branch 'match_newlines_py3' into 'master'" See merge request pycqa/flake8!254
| * Revert "Merge branch 'match_newlines_py3' into 'master'"Anthony Sottile2018-10-232-29/+6
|/ | | This reverts merge request !253
* Merge branch 'match_newlines_py3' into 'master'Anthony Sottile2018-10-232-6/+29
|\ | | | | | | | | | | | | Fix inconsistent newlines read from a file in python3 Closes #457 See merge request pycqa/flake8!253
| * Fix inconsistent newlines read from a file in python3Anthony Sottile2018-10-222-6/+29
| |
* | Merge branch 'master' into 'master'Anthony Sottile2018-10-232-4/+14
|\ \ | |/ |/| | | | | Fix collections ABCs deprecation warning See merge request pycqa/flake8!249
| * Fix collections ABCs deprecation warning.Jintao Zhang2018-10-232-4/+14
|/ | | | Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
* Merge branch 'use-black' into 'master'Ian Stapleton Cordasco2018-10-2030-825/+1065
|\ | | | | | | | | Use black to reformat Flake8 See merge request pycqa/flake8!251
| * Fix up test files for W504Ian Stapleton Cordasco2018-10-203-15/+15
| |
| * Use black to reformat Flake8Ian Stapleton Cordasco2018-10-2027-810/+1050
|/ | | | | Instead of just using Flake8 and pylint to keep Flake8 clean, let's also use black to make it less manual for clean-up.
* Merge branch 'fix-doc-for-isolated' into 'master'Ian Stapleton Cordasco2018-10-203-3/+3
|\ | | | | | | | | Fix docs for --isolated flag See merge request pycqa/flake8!247
| * Fix docs for --isolated flagSargun Vohra2018-09-093-3/+3
| |
* | Merge branch 'startup_perf' into 'master'Ian Stapleton Cordasco2018-10-201-2/+3
|\ \ | |/ |/| | | | | Defer setuptools import to save ~60ms on startup See merge request pycqa/flake8!250
| * Defer setuptools import to save ~60ms on startupAnthony Sottile2018-10-141-2/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | (I ran this 5 times and picked a median result) ### before ```console $ time flake8 --help > /dev/null real 0m0.221s user 0m0.199s sys 0m0.020s ``` ### after ```console $ time flake8 --help > /dev/null real 0m0.169s user 0m0.144s sys 0m0.020s ```
* Merge branch 'flake8_noqa_line_by_self' into 'master'Ian Stapleton Cordasco2018-07-012-4/+13
|\ | | | | | | | | Only skip a file if `# flake8: noqa` is on a line by itself See merge request pycqa/flake8!219
| * Only skip a file if `# flake8: noqa` is on a line by itselfAnthony Sottile2018-07-012-4/+13
|/
* Merge branch 'pyflakes_new_codes' into 'master'Ian Stapleton Cordasco2018-06-294-2/+10
|\ | | | | | | | | | | | | Update to pyflakes 2.0.0 Closes #422 See merge request pycqa/flake8!239
| * Update to pyflakes 2.0.0Miro Hrončok2018-06-054-2/+10
| | | | | | | | | | | | - Add new pyflakes codes - Bump the required versions - Fixes https://gitlab.com/pycqa/flake8/issues/422
* | Merge branch 'fix-typos' into 'master'Ian Stapleton Cordasco2018-06-291-1/+1
|\ \ | | | | | | | | | | | | docs: Fix two typos See merge request pycqa/flake8!236
| * | Fix two typosGiantsLoveDeathMetal2018-05-211-2/+2
| | | | | | | | | | | | | | | styl -> style commnts -> comments
* | | Merge branch 'patch-1' into 'master'Ian Stapleton Cordasco2018-06-291-1/+1
|\ \ \ | | | | | | | | | | | | | | | | Remove py33 from tox See merge request pycqa/flake8!240
| * | | Remove py33 from toxMiro Hrončok2018-06-051-1/+1
| | |/ | |/| | | | | | | | | | | | | Got: flake8 requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*' but the running Python is 3.3.7
* | | Merge branch 'docs-py3' into 'master'Ian Stapleton Cordasco2018-06-292-2/+2
|\ \ \ | | | | | | | | | | | | | | | | Update documentation links to latest Python 3 documentation See merge request pycqa/flake8!242
| * | | Update documentation links to latest Python 3 documentationJon Dufresne2018-06-102-2/+2
| |/ / | | | | | | | | | The URL https://docs.python.org/3/ is actively maintained and updated.
* | | Merge branch '_writing-code-typo-fix' into 'master'Ian Stapleton Cordasco2018-06-291-1/+1
|\ \ \ | | | | | | | | | | | | | | | | Fix "styl" -> "style" typo in writing code docs See merge request pycqa/flake8!243
| * | | Fix "styl" -> "style" typo in writing code docsValentin Ignatev2018-06-161-1/+1
| |/ /
* | | Merge branch 'patch-1' into 'master'Ian Stapleton Cordasco2018-06-291-1/+1
|\ \ \ | |/ / |/| | | | | | | | Fix "invalid escape sequence" when running with -Werror See merge request pycqa/flake8!244
| * | Fix "invalid escape sequence" when running with -WerrorAnthony Sottile2018-06-181-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | ``` $ python3.7 -Werror Python 3.7.0rc1 (default, Jun 16 2018, 03:32:08) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> '# noqa(?:: (?P<codes>([A-Z][0-9]+(?:[,\s]+)?)+))?' File "<stdin>", line 1 SyntaxError: invalid escape sequence \s ```
* | Merge branch 'py37' into 'master'Ian Stapleton Cordasco2018-05-213-1/+9
|\ \ | | | | | | | | | | | | Add Python 3.7 to tox and GitLab CI See merge request pycqa/flake8!234
| * | Add Python 3.7 to tox and GitLab CIVille Skyttä2018-05-203-1/+9
| |/