Commit graph

99 commits

Author SHA1 Message Date
Anthony Sottile
b3e2515122 remove --include-in-doctest and --exclude-in-doctest 2023-07-29 15:55:41 -04:00
Anthony Sottile
5bd63bc552 upgrade pyflakes to 3.1.x 2023-07-29 13:03:38 -04:00
Bastien Gérard
e6f9db5039
Update python-api.rst
Fix minor typo in doc
2023-01-21 21:37:35 +01:00
Anthony Sottile
837e81948b communicate that --select is usually unnecessary 2022-12-14 12:55:37 -05:00
Anthony Sottile
fba6df88f9 remove --diff option 2022-10-26 20:39:12 -07:00
Anthony Sottile
eafb4d7254 remove example help text from docs to avoid confusion 2022-09-22 21:04:10 -04:00
wookie184
a3e31c2f44 Prefer extend-ignore over ignore in general examples 2022-09-06 18:29:02 +01:00
Kai Mueller
e299674866 Document off-by-default feature
Add a short section to the plugin development.

See #1676
2022-09-04 16:48:46 -04:00
Dragos Velicanu
68455f0e8f fix documentation of color configuruation 2022-08-10 13:49:20 -04:00
Anthony Sottile
b9e0c6eb50 upgrade pyflakes to 2.5.x 2022-07-30 13:35:02 -04:00
Anthony Sottile
9f88dc3a67
correct string example for E501 exclusions
https://github.com/PyCQA/pycodestyle/issues/1064
2022-04-25 12:43:36 -04:00
Anthony Sottile
a626e659c4 remove outdated output-file example from docs 2022-04-22 13:38:35 -07:00
Anthony Sottile
c6882772e1 where possible http->https and fix links 2022-02-10 15:47:58 -05:00
Anthony Sottile
d03b9c97cc add a --require-plugins option 2022-01-22 14:08:32 -05:00
Scott Barlow
163814547d Add .nox to default exclude list 2021-11-07 17:39:16 -08:00
Anthony Sottile
e6579239af deprecate the --diff option 2021-11-05 20:51:04 -04:00
Anthony Sottile
848003cc05 add --color option 2021-11-05 20:37:08 -04:00
Guilhem Saurel
d835bc8397 remove more mentions of user-level configuration in docs 2021-10-11 20:54:47 +02:00
Guilhem Saurel
ac2059d154 update doc after #1404 2021-10-11 20:49:57 +02:00
Nikita Sobolev
e6eaab1011
Improves plugin docs
Replaces `flake8-future` with `flake8-quotes`
2021-06-22 12:15:20 +03:00
Anthony Sottile
913e064d08
Clarify where --jobs is disabled 2021-05-18 19:18:54 -07:00
Frank Winklmeier
f98afbf7d9 Add --extend-select command line argument
Implement `--extend-select` command line argument following what was
done for `--extend-ignore` in !233. This option can be used to
selectively add individual codes without overriding the default list
entirely.

Addresses the remaining item of issue #1061.
2021-04-11 20:40:53 +02:00
Anthony Sottile
97134d5a32
Merge pull request #35 from sambrightman/document-exclude-default
Update documentation of default excludes
2021-04-03 21:42:57 -07:00
Anthony Sottile
e1bf883668 fix manual gitlab links 2021-04-03 18:21:02 -07:00
Anthony Sottile
8cc3fc01e8 some manual python2 metadata cleanup 2021-03-30 17:37:12 -07:00
Anthony Sottile
83fc824ca1 remove flake8 setuptools command 2021-03-29 20:15:45 -07:00
Anthony Sottile
1a1d850e99 remove vcs integration 2021-03-29 19:01:59 -07:00
valentin
ac9c66e80b Add indent-size option 2021-03-14 11:53:03 -07:00
Anthony Sottile
14814b29ec remove outdated output-file configuration docs 2020-11-13 16:14:45 -08:00
Philipp Fischbeck
c91a82ce87 Fix typos in --exclude-from-doctest docs 2020-10-03 09:56:14 +02:00
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
Max Grishkin
f82bceffaf Fixed misprint. 2020-07-28 18:18:58 +00: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
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
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
peterjc
9e97143e49 Document priority of configuration files and command line
Closes issue 560.
2019-08-07 10:31:14 +01: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
Antoine Gallix
e22ed0743e document max-doc-length option 2019-03-20 15:12:14 +01:00
Sam Brightman
4729e8ee85 Update documentation of default excludes 2019-02-25 22:43:05 +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
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
ef5ef0d9bf Add https://pre-commit.com metadata 2018-11-21 13:40:48 -08:00