| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| |
| |
| | |
Replace setuptools with entrypoints
See merge request pycqa/flake8!264
|
| | | |
|
| |\ \
| |/
|/|
| |
| | |
Grammar fixes
See merge request pycqa/flake8!266
|
| |/ |
|
| |\
| |
| |
| |
| |
| |
| | |
Add support for per-file ignores in config
Closes #156
See merge request pycqa/flake8!259
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| | |
These show that there were some subtle bugs in how we were matching
things and that there are bugs that need to be fixed.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
'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
|
| |/ / |
|
| |\ \
| |/
|/|
| |
| | |
Add documentation for `flake8 --extend-ignore`
See merge request pycqa/flake8!258
|
| |/
|
|
|
| |
Also highlight the behavioral differences between `flake --ignore` and
`flake --extend-ignore`.
|
| |\
| |
| |
| |
| | |
Fixups after 3.6.0 release
See merge request pycqa/flake8!256
|
| |/ |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
Fix inconsistent newlines read from a file in python3 (try 2)
Closes #457
See merge request pycqa/flake8!255
|
| | | |
|
| |/
|
|
|
| |
This reverts commit ba2fb9c53a8316642249598f599bbf7608d54260, reversing
changes made to 63b91c95ea7795e3c3c90f2d643f685bfff312e9.
|
| |\
| |
| |
| |
| | |
Revert "Merge branch 'match_newlines_py3' into 'master'"
See merge request pycqa/flake8!254
|
| |/
|
| |
This reverts merge request !253
|
| |\
| |
| |
| |
| |
| |
| | |
Fix inconsistent newlines read from a file in python3
Closes #457
See merge request pycqa/flake8!253
|
| | | |
|
| |\ \
| |/
|/|
| |
| | |
Fix collections ABCs deprecation warning
See merge request pycqa/flake8!249
|
| |/
|
|
| |
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
|
| |\
| |
| |
| |
| | |
Use black to reformat Flake8
See merge request pycqa/flake8!251
|
| | | |
|
| |/
|
|
|
| |
Instead of just using Flake8 and pylint to keep Flake8 clean, let's also
use black to make it less manual for clean-up.
|
| |\
| |
| |
| |
| | |
Fix docs for --isolated flag
See merge request pycqa/flake8!247
|
| | | |
|
| |\ \
| |/
|/|
| |
| | |
Defer setuptools import to save ~60ms on startup
See merge request pycqa/flake8!250
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
```
|
| |\
| |
| |
| |
| | |
Only skip a file if `# flake8: noqa` is on a line by itself
See merge request pycqa/flake8!219
|
| |/ |
|
| |\
| |
| |
| |
| |
| |
| | |
Update to pyflakes 2.0.0
Closes #422
See merge request pycqa/flake8!239
|
| | |
| |
| |
| |
| |
| | |
- Add new pyflakes codes
- Bump the required versions
- Fixes https://gitlab.com/pycqa/flake8/issues/422
|
| |\ \
| | |
| | |
| | |
| | | |
docs: Fix two typos
See merge request pycqa/flake8!236
|
| | | |
| | |
| | |
| | |
| | | |
styl -> style
commnts -> comments
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Remove py33 from tox
See merge request pycqa/flake8!240
|
| | | |/
| |/|
| | |
| | |
| | |
| | | |
Got:
flake8 requires Python '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
but the running Python is 3.3.7
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Update documentation links to latest Python 3 documentation
See merge request pycqa/flake8!242
|
| | |/ /
| | |
| | |
| | | |
The URL https://docs.python.org/3/ is actively maintained and updated.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Fix "styl" -> "style" typo in writing code docs
See merge request pycqa/flake8!243
|
| | |/ / |
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
Fix "invalid escape sequence" when running with -Werror
See merge request pycqa/flake8!244
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
```
$ 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
```
|
| |\ \
| | |
| | |
| | |
| | | |
Add Python 3.7 to tox and GitLab CI
See merge request pycqa/flake8!234
|
| | |/ |
|