Commit graph

259 commits

Author SHA1 Message Date
Anthony Sottile
2fe70dda6b fix a few small spelling issues
found via `pre-commit try-repo https://github.com/codespell-project/codespell --all-files`
2020-09-20 19:16:10 -07:00
Brian Helba
76b7e0c23e Fix options docs to correct some defaults
Commit f963641e93 changed some defaults,
but did not update the docs.
2020-09-02 13:33:18 +00:00
Anthony Sottile
9e41e13627 fix link in configuration docs 2020-08-22 13:09:16 -07:00
Janosh Riebesell
d079132883 add note to configuration.rst that inline comments are not supported 2020-08-21 18:12:19 -07:00
Ian Stapleton Cordasco
e897cfac39 Merge branch 'patch-2' into 'master'
Fixed misprint.

See merge request pycqa/flake8!445
2020-07-28 18:37:25 +00:00
Max Grishkin
f82bceffaf Fixed misprint. 2020-07-28 18:18:58 +00:00
Max Grishkin
6dde678564 Update registering-plugins.rst 2020-07-28 18:08:55 +00:00
Anthony Sottile
c778fbf680 skip sphinx 3.1.0
See https://github.com/sphinx-doc/sphinx/issues/7807
2020-06-08 14:50:31 -07:00
Anthony Sottile
181bb46098 Release 3.8.3 2020-06-08 12:27:04 -07:00
Anthony Sottile
40716454a2 Release 3.8.2 2020-05-22 15:36:22 -07:00
Anthony Sottile
f94e0095fd Release 3.8.1 2020-05-11 22:29:53 -07:00
Anthony Sottile
b4d2850192 Release 3.8.0 2020-05-11 13:42:34 -07:00
Anthony Sottile
0cdc1b9efe Release 3.8.0a2 2020-04-24 10:58:11 -07:00
Anthony Sottile
2cb1c65c99 Release 3.8.0.a1 2020-04-24 10:34:39 -07:00
Anthony Sottile
76eeccad89 Support pyflakes 2.2.x 2020-04-11 15:00:52 -07:00
Hugo
9a481c186e Fix typo 2020-03-25 20:29:47 +00:00
Vilhelm Prytz
41599cb6b8
docs: Add missing semicolon to term link 2020-03-25 19:45:46 +01:00
Anthony Sottile
6223dd8ab7 Merge branch 'document_before_after' into 'master'
document that contents may appear before/after a noqa comment

Closes #528

See merge request pycqa/flake8!407
2020-01-16 22:58:19 +00:00
Anthony Sottile
b3f54c3f12 document that contents may appear before/after a noqa comment 2020-01-16 14:55:23 -08:00
Sorin Sbarnea
581a8b759b Some typo fixes in git hooks docs 2020-01-16 11:28:43 -08:00
Brian Wignall
591a230940 Fix typos 2019-12-02 15:38:48 +00:00
Anthony Sottile
87acf9e5fc Merge branch '3.7-maintenance' into 'master'
Merge 3.7.9 tag and release notes

See merge request pycqa/flake8!369
2019-10-28 17:54:40 +00:00
Anthony Sottile
ee2920d775 Release 3.7.9 2019-10-28 10:34:54 -07:00
Anthony Sottile
04f49a7a77 Only use multiprocessing when the method is fork
In python3.8 on macos and in all versions on windows the multiprocessing
method is `spawn` which does not preserve class state.
2019-10-28 10:00:18 -07:00
Anthony Sottile
51f32bbe93 Only use multiprocessing when the method is fork
In python3.8 on macos and in all versions on windows the multiprocessing
method is `spawn` which does not preserve class state.
2019-10-28 09:43:30 -07:00
Eric N. Vander Weele
6017022942 options: Remove parsing --verbose from the configuration file
The `--verbose` option is only used by `flake8`, itself,` when parsing
and handling preliminary options.  After parsing and merging options
from the configuration file, there is no other behavioral impact to the
core of `flake8`.  In other words, setting `verbose = ...` in a
configuration file doesn't change the logging verbosity.

While the `FileProcessor` does expose a `verbose` attribute, obtained
from the parsed options, the verbosity of the core of `flake8` should be
consistent with how a plugin may respond to the attribute's value.
2019-10-12 14:25:50 +01:00
Anthony Sottile
e42884cf60 Add whitespace fixers 2019-09-07 23:49:47 -07:00
Anthony Sottile
b66ebd7034 move from optparse to argparse 2019-08-17 20:09:45 -07:00
peterjc
9e97143e49 Document priority of configuration files and command line
Closes issue 560.
2019-08-07 10:31:14 +01:00
Eric N. Vander Weele
1ba56b9056 utils: Change normalize_paths() contract
The `normalize_paths()` utility was doing too much — parsing
unstructured configuration path data and dispatching the scrubbed paths
to be normalized.

Towards moving the parsing of unstructured configuration path data
closer towards were configuration occurs, have the utility accept only
structured input for normalizing paths.
2019-07-28 10:43:06 -04:00
Eric N. Vander Weele
9283f2f03f utils: Change parse_comma_separated_list() contract
This is the initial incision point to only accept `str` (or `None`) for
parsing out comma/whitespace/regexp separated values.
2019-07-28 10:43:02 -04:00
Markus Gerstel
ce26d89cbf
Fix incorrect error string in documentation
In merge request !300 the description of F631 was accidentally used for
F633.
2019-07-19 23:56:05 +01:00
Thomas Grainger
9ba6677c4a support extend-exclude Fixes #535 2019-07-08 20:12:47 +00:00
Anthony Sottile
aa792d2930 Release 3.7.8 2019-07-08 11:21:04 -07:00
Mandar Vaze
78a4f4cda4 Document global gitignore files for contributors
Fixes #155
2019-05-30 13:37:54 +00:00
Anthony Sottile
81838de946 Fix sample entry points in docs 2019-05-21 00:24:47 +00:00
Antoine Gallix
e22ed0743e document max-doc-length option 2019-03-20 15:12:14 +01:00
Anthony Sottile
88caf5ac48 Release 3.7.7 2019-02-25 08:36:58 -08:00
Anthony Sottile
9b770f590e Release 3.7.6 2019-02-18 11:58:12 -08: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
e7b8493b5d Release 3.7.5 2019-02-04 08:37:16 -08:00
Anthony Sottile
afc57d471d Release 3.7.4 2019-01-31 19:53:02 -08: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
ee7081c8ce Release 3.7.3 2019-01-30 19:55:58 -08:00
wuck
7fc4732fed Fix typo in 3.7.2.rst 2019-01-31 00:31:37 +00:00
Anthony Sottile
3d1a4265a7 Release 3.7.2 2019-01-30 12:51:49 -08:00
Anthony Sottile
f70ae10c2b Release 3.7.1 2019-01-30 00:07:43 -08:00
Anthony Sottile
22f16e4081 Release v3.7.0 2019-01-29 20:28:38 -08:00
Anthony Sottile
50e7cc71b9 Latest pycodestyle 2019-01-29 08:58:10 -08:00
Anthony Sottile
be88d26396 Remove unused and broken flake8.listen plugin type 2018-12-27 16:55:15 -08:00