Anthony Sottile
535775e646
Turn off pre-commit's automated multiprocessing
...
flake8 internally implements multiprocessing, disabling pre-commit's improves performance
2019-01-27 17:26:45 -08:00
Anthony Sottile
f38f274e76
Merge branch 'fix_linters' into 'master'
...
Fix linters
See merge request pycqa/flake8!285
2019-01-28 01:26:27 +00:00
Anthony Sottile
dd9a3f421b
Fix linters
2019-01-27 17:19:04 -08:00
Ian Stapleton Cordasco
0f3f4ff9b4
Merge branch 'master' into 'master'
...
Add support for optparse's 'float' and 'complex' types.
Closes #452
See merge request pycqa/flake8!261
2019-01-17 13:50:50 +00:00
Ian Stapleton Cordasco
97e4927555
Merge branch 'per_file_ignore' into 'master'
...
Support more syntaxes in per-file-ignores
Closes #471
See merge request pycqa/flake8!281
2019-01-17 13:32:06 +00:00
Ian Stapleton Cordasco
92efb041d9
Merge branch 'unused_project_filenames' into 'master'
...
Remove unused PROJECT_FILENAMES
See merge request pycqa/flake8!279
2019-01-08 14:00:29 +00:00
Ian Stapleton Cordasco
751bbd1148
Merge branch 'enforce_warnings' into 'master'
...
Enforce warnings under test
Closes #275
See merge request pycqa/flake8!280
2019-01-08 13:59:56 +00:00
Anthony Sottile
9788b87c91
Support more syntaxes in per-file-ignores
2019-01-07 19:35:41 -08:00
Anthony Sottile
afe1ba4f61
Enforce warnings under test
2019-01-07 19:19:21 -08:00
Anthony Sottile
c49d03ae0a
Remove unused PROJECT_FILENAMES
2019-01-07 17:23:07 -08:00
ymdatta
cc20e35058
Fixed linting errors
2019-01-04 10:32:06 +05:30
Anthony Sottile
894c4ac9ee
Merge branch 'setup_py_test' into 'master'
...
Remove tests_require / setup_requires since we do not use setup.py test
See merge request pycqa/flake8!277
2019-01-04 04:25:45 +00:00
Anthony Sottile
64cc5b3d07
Remove tests_require / setup_requires since we do not use setup.py test
2019-01-03 17:25:39 -08:00
Anthony Sottile
8dc2885d94
Fix typo
2018-12-31 22:26:21 -08:00
Anthony Sottile
a153244191
Merge branch 'pyflakes_api_better' into 'master'
...
Call pyflakes api better
See merge request pycqa/flake8!276
2019-01-01 03:18:42 +00:00
Anthony Sottile
22b00100ab
Call pyflakes api better
2018-12-31 19:14:02 -08:00
Ian Stapleton Cordasco
7f50c3acc4
Merge branch 'remove_unused_broken_flake8_listen' into 'master'
...
Remove unused and broken flake8.listen plugin type
Closes #480
See merge request pycqa/flake8!274
2018-12-28 15:39:49 +00:00
Anthony Sottile
be88d26396
Remove unused and broken flake8.listen plugin type
2018-12-27 16:55:15 -08:00
Anthony Sottile
6ad56f73da
Fix noqa example comment [ci skip]
2018-12-27 17:03:55 +00:00
Anthony Sottile
d3d1b19aec
Merge branch 'noqa_without_space_470' into 'master'
...
Accept Noqa without space
Closes #470
See merge request pycqa/flake8!273
2018-12-27 16:54:47 +00:00
Tomer Keren
445d19b9de
Add link to regex101 for noqa regex
...
This provides a step by step doc for the regular expression, and makes iterating on it much easier
2018-12-27 18:28:08 +02:00
Tomer Keren
08492ee857
Update regex to allow no space noqa
2018-12-27 18:18:52 +02:00
Tomer Keren
8c9c462154
Add tests for noqa without a space
2018-12-27 18:14:20 +02:00
Anthony Sottile
c645a6761d
Merge branch 'patch-1' into 'master'
...
Recommend registering plugin options using `add_options` and `parse_options`...
See merge request pycqa/flake8!272
2018-12-16 17:34:28 +00:00
Alexander Schlarb
092427e7dd
Recommend registering plugin options using add_options and parse_options rather then register_options and provide_options since these are actually called.
2018-12-16 14:11:17 +00:00
Anthony Sottile
cad4e5be6f
Merge branch 'physical-line-multiple' into 'master'
...
Allow physical checks to return multiple results
See merge request pycqa/flake8!269
2018-12-10 17:47:05 +00:00
Tom Milligan
2803d0a810
checker: allow physical checks to return multiple results, add tests
2018-12-10 17:42:53 +00:00
Anthony Sottile
9a9237a338
Merge branch 'old-py' into 'master'
...
Remove workarounds for older, unsupported Pythons
See merge request pycqa/flake8!271
2018-12-05 17:47:14 +00:00
Jon Dufresne
3216c7b362
Remove workarounds for older, unsupported Pythons
2018-12-05 06:34:55 -08:00
Ian Stapleton Cordasco
93ad9617b0
Merge branch 'remove_unused_verify_requiremetns' into 'master'
...
Remove unused verify_requirements argument
See merge request pycqa/flake8!267
2018-11-22 12:29:58 +00:00
Ian Stapleton Cordasco
838b508848
Merge branch 'pre_commit_config' into 'master'
...
Add https://pre-commit.com metadata
See merge request pycqa/flake8!268
2018-11-22 12:29:32 +00:00
Anthony Sottile
ef5ef0d9bf
Add https://pre-commit.com metadata
2018-11-21 13:40:48 -08:00
Anthony Sottile
b8dbb9b597
Remove unused verify_requirements argument
2018-11-21 09:30:05 -08:00
Anthony Sottile
b3f205a936
Merge branch 'entrypoints' into 'master'
...
Replace setuptools with entrypoints
See merge request pycqa/flake8!264
2018-11-21 17:28:55 +00:00
Anthony Sottile
cd75e4e2b2
Merge branch 'grammar' into 'master'
...
Grammar fixes
See merge request pycqa/flake8!266
2018-11-11 16:13:22 +00:00
Ville Skyttä
dedb741fad
Grammar fixes
2018-11-11 11:14:51 +02:00
ymdatta
3b16130500
test_option:Modify the tests to check support for optparse's types.
2018-11-09 08:39:47 +05:30
Anthony Sottile
ff15ba0865
Replace setuptools with entrypoints
2018-11-05 11:08:37 -08:00
Ian Stapleton Cordasco
4439ea2025
Merge branch 'per-file-style-guide' into 'master'
...
Add support for per-file ignores in config
Closes #156
See merge request pycqa/flake8!259
2018-10-29 15:37:11 +00:00
Anthony Sottile
732a466ee8
Merge branch '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
2018-10-28 20:25:53 +00:00
Jesaja Everling
cafe780514
Clearer docs, NOQA_INLINE_REGEXP comment - fixes #469
2018-10-28 20:17:01 +01:00
ymdatta
ccd9beb26d
Added tests for optparse's 'float' and 'complex' types
2018-10-28 22:16:03 +05:30
ymdatta
6341d1382e
Add support for optparse's 'float' and 'complex' types.
...
This helps normalize_from_setuptools, to handle all
optparse's standard-option-types.
Fixes #452
2018-10-28 17:21:39 +05:30
Ian Stapleton Cordasco
6ae2295bfe
Add versionadded notes for options
2018-10-27 11:58:51 -05:00
Ian Stapleton Cordasco
4773995430
Merge branch 'add-extend-ignore-to-violations-docs' into 'master'
...
Add documentation for `flake8 --extend-ignore`
See merge request pycqa/flake8!258
2018-10-27 16:56:59 +00:00
Ian Stapleton Cordasco
19148eb5d7
Add documentation for --per-file-ignores
2018-10-27 11:35:07 -05:00
Ian Stapleton Cordasco
e09a22a416
Refactor to support the per-file-ignores
...
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.
2018-10-27 08:01:14 -05:00
Ian Stapleton Cordasco
1433a008b3
Add tests for the expected behaviour of per-file-ignores
...
These show that there were some subtle bugs in how we were matching
things and that there are bugs that need to be fixed.
2018-10-27 08:01:14 -05:00
Lars Butler
144b5af7a8
Add documentation for flake8 --extend-ignore
...
Also highlight the behavioral differences between `flake --ignore` and
`flake --extend-ignore`.
2018-10-26 17:42:00 +02:00
Ian Stapleton Cordasco
f2776107db
Add support for per-file ignores in config
...
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
2018-10-25 09:45:03 -05:00