Commit graph

1580 commits

Author SHA1 Message Date
Anthony Sottile
88caf5ac48 Release 3.7.7 2019-02-25 08:36:58 -08:00
Anthony Sottile
a0c9a4240d Merge branch 'pickleable_plugin_error' into 'master'
Ensure exceptions are pickleable

Closes #505

See merge request pycqa/flake8!308
2019-02-20 22:48:41 +00:00
Anthony Sottile
e8de066f94 Ensure exceptions are pickleable 2019-02-19 08:38:37 -08:00
Anthony Sottile
9b770f590e Release 3.7.6 2019-02-18 11:58:12 -08:00
Ian Stapleton Cordasco
59c2f093de Merge branch 'mypy_improvements' into 'master'
Improve a few mypy type annotations

See merge request pycqa/flake8!307
2019-02-17 15:23:30 +00:00
Ian Stapleton Cordasco
a21d74152b Merge branch 'perf_only_one_proc' into 'master'
Speed up flake8 when only 1 filename is passed

See merge request pycqa/flake8!305
2019-02-17 15:23:12 +00:00
Ian Stapleton Cordasco
2170f54cb3 Merge branch 'less_monkeypatch' into 'master'
Remove pyflakes monkeypatching

See merge request pycqa/flake8!306
2019-02-17 15:22:44 +00:00
Anthony Sottile
c71fadb18c Improve a few mypy type annotations 2019-02-17 00:16:19 -08:00
Anthony Sottile
e8f43e1243 Speed up flake8 when only 1 filename is passed
~40% improvement over status quo (perf measurements are best-of-5)

### before

```console
$ time flake8 /dev/null

real    0m0.337s
user    0m0.212s
sys     0m0.028s
```

### after

```console
$ time flake8 /dev/null

real    0m0.197s
user    0m0.182s
sys     0m0.012s
```
2019-02-17 00:15:00 -08:00
Anthony Sottile
a252a0b138 Remove pyflakes monkeypatching 2019-02-16 18:05:00 -08:00
Anthony Sottile
684ffb3306 Merge branch 'update-options-ignore-defaults' into 'master'
Update documented --ignore defaults to match code

See merge request pycqa/flake8!304
2019-02-16 17:29:30 +00:00
Kevin Locke
d225687c02 options.rst: Update --ignore defaults to match code
3d512ae added W503 and W504 to defaults.IGNORE, but the documentation
was never updated.  This commit updates the docs to match the code.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2019-02-16 10:16:12 -07:00
Anthony Sottile
dc7b082b96 Merge branch 'allow_multiple_letters_in_codes' into 'master'
FIX 507: allow multiple letters in codes

See merge request pycqa/flake8!303
2019-02-11 14:25:26 +00:00
Илья Лебедев
8e99b531cf FIX 507: allow multiple letters in codes 2019-02-11 17:00:34 +03:00
Anthony Sottile
e7b8493b5d Release 3.7.5 2019-02-04 08:37:16 -08:00
Anthony Sottile
a35ed4a998 Merge branch 'undefinde_local_code' into 'master'
Fix reporting of UndefinedLocal pyflakes error

Closes #503

See merge request pycqa/flake8!302
2019-02-01 22:54:10 +00:00
Anthony Sottile
8df38c92b9 Fix reporting of UndefinedLocal pyflakes error 2019-01-31 21:55:10 -08:00
Anthony Sottile
79148a02ee Merge branch '3_7' into 'master'
Remove noqa comments now that 3.7 has been released

See merge request pycqa/flake8!301
2019-02-01 05:53:36 +00:00
Anthony Sottile
3d54751236 Remove noqa comments now that 3.7 has been released 2019-01-31 20:12:23 -08:00
Anthony Sottile
afc57d471d Release 3.7.4 2019-01-31 19:53:02 -08:00
Anthony Sottile
218bacb108 Merge branch 'update-pyflakes-error-codes' into 'master'
Update documentation with new pyflakes error codes.

See merge request pycqa/flake8!300
2019-01-31 22:06:16 +00:00
Greg Back
cd55068eac Update documentation with new pyflakes error codes.
- F632 and F633 were missing
- F721 and F722 were combined in the same row
- F723 was missing
2019-01-31 16:01:25 -06:00
Anthony Sottile
59fdc5250c Merge branch 'performance_style_guide_for' into 'master'
Fix performance regression with per-file-ignores

Closes #501

See merge request pycqa/flake8!299
2019-01-31 18:58:02 +00:00
Anthony Sottile
c85b282b05 Fix performance regression with per-file-ignores
With a large number of errors, filenames, and per-file-ignores the style guide
selection would take a significant portion of execution time
(python3 70% / python2 99.9%).

Caching the styleguide lookup by filename eliminates this bottleneck.
2019-01-31 09:23:02 -08:00
Anthony Sottile
ee7081c8ce Release 3.7.3 2019-01-30 19:55:58 -08:00
Anthony Sottile
9269987cca Merge branch 'improve_error_message' into 'master'
Improve error message for malformed per-file-ignores

Closes #489

See merge request pycqa/flake8!298
2019-01-31 03:38:08 +00:00
Anthony Sottile
f955a98b71 Improve error message for malformed per-file-ignores 2019-01-30 19:33:54 -08:00
Anthony Sottile
cfe9e92999 Merge branch 'graceful_ignore_per_file_ignores' into 'master'
Gracefully ignore flake8-per-file-ignores if installed

See merge request pycqa/flake8!297
2019-01-31 03:09:02 +00:00
Anthony Sottile
f7a7e58119 Gracefully ignore flake8-per-file-ignores if installed 2019-01-30 19:01:49 -08:00
Anthony Sottile
7ba8da2a61 Merge branch 'patch-1' into 'master'
Fix typo in 3.7.2.rst

See merge request pycqa/flake8!296
2019-01-31 00:33:31 +00:00
wuck
7fc4732fed Fix typo in 3.7.2.rst 2019-01-31 00:31:37 +00:00
Anthony Sottile
cbffa49a0b Merge branch 'fix_statistics' into 'master'
Fix flake8 --statistics

Closes #499

See merge request pycqa/flake8!295
2019-01-30 23:05:48 +00:00
Anthony Sottile
b0ecf3d28f Fix flake8 --statistics 2019-01-30 14:39:24 -08:00
Anthony Sottile
e21d74fcc4 Merge branch 'typing_3_5_1' into 'master'
Make uses of typing compatible with python 3.5.1 / 3.5.0

Closes #498

See merge request pycqa/flake8!294
2019-01-30 22:20:17 +00:00
Anthony Sottile
eb886a268f Make uses of typing compatible with python 3.5.1 / 3.5.0 2019-01-30 14:03:55 -08:00
Anthony Sottile
3d1a4265a7 Release 3.7.2 2019-01-30 12:51:49 -08:00
Anthony Sottile
077b640a86 Merge branch 'make_notifier_gone' into 'master'
Fix legacy api invocation of make_notifier

Closes #497

See merge request pycqa/flake8!293
2019-01-30 19:06:24 +00:00
Anthony Sottile
137b45ac2f Fix legacy api invocation of make_notifier 2019-01-30 11:00:36 -08:00
Anthony Sottile
941b120819 Merge branch 'is/490' into 'master'
Fix bug flake8 --diff

Closes #490

See merge request pycqa/flake8!292
2019-01-30 18:09:54 +00:00
Anthony Sottile
915184a1e9 Add integration test for flake8 --diff 2019-01-30 09:54:13 -08:00
Anthony Sottile
5707e6e3af Merge branch 'error_plugin_exception_report' into 'master'
Fix plugin exception reporting keyerror typo

See merge request pycqa/flake8!275
2019-01-30 17:03:26 +00:00
Anthony Sottile
3579e4e198 Fix linters 2019-01-30 08:58:59 -08:00
Tomer Keren
a4f5447fc8 Refactor file processor tests to use fixture 2019-01-30 08:57:25 -08:00
Tomer Keren
92a037684f Fix python2 unicode test error
I guess that if you don't have something python2 compliant to say. might as well say nothing at all
Also fix linter errors
2019-01-30 08:55:57 -08:00
Tomer Keren
bdf3ce9135 Fix dogfood 2019-01-30 08:55:57 -08:00
Tomer Keren
b64421c5e8 Write a test checking plugin failure exception handling 2019-01-30 08:55:57 -08:00
Tomer Keren
c68e7a8d3e Fix plugin exception reporting keyerror typo 2019-01-30 08:55:57 -08:00
Guillaume Lemaitre
763f68b623 BUG: fix flake8 --diff 2019-01-30 17:45:18 +01:00
Anthony Sottile
f70ae10c2b Release 3.7.1 2019-01-30 00:07:43 -08:00
Anthony Sottile
ed3b133227 Merge branch 'capitalized_filenames' into 'master'
Allow capitalized filenames in per-file-ignores

Closes #488

See merge request pycqa/flake8!290
2019-01-30 07:29:05 +00:00