ce274fb742
remove --statistics and --benchmarks
2022-09-29 15:12:55 -04:00
2c1bfa1f3d
Merge pull request #1696 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-09-26 21:45:50 -04:00
d59c42769c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/reorder_python_imports: v3.8.2 → v3.8.3](https://github.com/asottile/reorder_python_imports/compare/v3.8.2...v3.8.3 )
- [github.com/asottile/pyupgrade: v2.38.0 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.38.0...v2.38.2 )
2022-09-27 01:09:19 +00:00
113aa89cd2
Merge pull request #1695 from PyCQA/remove-help-text-from-docs
...
remove example help text from docs to avoid confusion
2022-09-22 21:07:46 -04:00
eafb4d7254
remove example help text from docs to avoid confusion
2022-09-22 21:04:10 -04:00
5d8a0b8158
Merge pull request #1694 from eli-schwartz/documentation-count-exit-code
...
fix documentation for the --count option
2022-09-22 21:02:29 -04:00
045923237e
fix documentation for the --count option
...
It erroneously claimed that it set the application exit code to 1 if the
count was greater than 1. However, this is false, because the --count
option doesn't modify the error code at any time.
If the count was greater than 1, then the exit code was already 1, even
in the absence of --count, unless --exit-zero was used.
This documentation bug resulted in people reading the `flake8 --help`
output and believing that --count is mandatory in order to ensure that
flake8 produces errors in automated processes (such as CI scripts) when
flake8 violations are detected.
2022-09-22 20:53:52 -04:00
4be02109df
Merge pull request #1693 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-09-19 20:04:57 -05:00
8c7c38bad9
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.37.3 → v2.38.0](https://github.com/asottile/pyupgrade/compare/v2.37.3...v2.38.0 )
2022-09-20 00:54:40 +00:00
7a6c42fc43
Merge pull request #1681 from wookie184/use-extend-ignore-in-docs
...
Prefer extend-ignore over ignore in general examples
2022-09-06 13:57:07 -04:00
a3e31c2f44
Prefer extend-ignore over ignore in general examples
2022-09-06 18:29:02 +01:00
4d1a72afc2
Merge pull request #1680 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-09-05 22:03:08 -04:00
46b404aa1f
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0 )
2022-09-06 01:17:10 +00:00
a81fdd49f5
Merge pull request #1678 from kasium/issue-1676
...
Document off-by-default feature
2022-09-04 16:53:41 -04:00
e299674866
Document off-by-default feature
...
Add a short section to the plugin development.
See #1676
2022-09-04 16:48:46 -04:00
d1939cbafd
Merge pull request #1677 from kasium/case-typo
...
Fix typo casae->case
2022-09-04 11:40:07 -04:00
2ee3c56d93
Fix typo casae->case
2022-09-04 15:33:18 +00:00
a929f124c8
Merge pull request #1633 from PyCQA/py37-plus
...
require python>=3.7
2022-08-27 20:34:38 -04:00
e249dc47df
Merge pull request #1662 from velicanu/main
...
fix documentation of color configuruation
2022-08-10 13:53:31 -04:00
68455f0e8f
fix documentation of color configuruation
2022-08-10 13:49:20 -04:00
c42fc04602
Merge pull request #1658 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-08-08 20:45:15 -04:00
3642af2dca
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/PyCQA/flake8: 5.0.3 → 5.0.4](https://github.com/PyCQA/flake8/compare/5.0.3...5.0.4 )
2022-08-09 00:38:58 +00:00
e94fb10940
require python>=3.7
2022-08-05 19:51:08 -04:00
6027577d32
Release 5.0.4
5.0.4
2022-08-03 19:19:37 -04:00
213e006ce6
Merge pull request #1653 from asottile/lower-bound-importlib-metadata
...
require sufficiently new importlib-metadata
2022-08-03 19:10:26 -04:00
e94ee2b5f1
require sufficiently new importlib-metadata
2022-08-03 18:49:44 -04:00
318a86a4a1
Merge pull request #1646 from televi/main
...
Clarify entry point naming
2022-08-02 11:04:18 -04:00
7b8b374c9b
Clarify entry point naming
...
Clarified what is and is not a valid entry point name
for registering plugins.
2022-08-02 10:59:05 -04:00
7160561028
Merge pull request #1649 from PyCQA/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-08-01 21:19:30 -04:00
84d56a8c25
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/asottile/pyupgrade: v2.37.2 → v2.37.3](https://github.com/asottile/pyupgrade/compare/v2.37.2...v2.37.3 )
- [github.com/PyCQA/flake8: 4.0.1 → 5.0.3](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.3 )
2022-08-02 01:01:58 +00:00
ff6569b87d
Release 5.0.3
5.0.3
2022-08-01 19:21:10 -04:00
e76b59ae44
Merge pull request #1648 from PyCQA/invalid-syntax-partial-parse
...
ignore config files that partially parse as flake8 configs
2022-08-01 19:16:39 -04:00
25e8ff18b3
ignore config files that partially parse as flake8 configs
2022-08-01 19:11:53 -04:00
70c0b3d27a
Release 5.0.2
5.0.2
2022-08-01 06:01:45 -07:00
5e69ba9261
Merge pull request #1642 from PyCQA/no-home
...
skip skipping home if home does not exist
2022-08-01 08:54:33 -04:00
8b51ee4ea5
skip skipping home if home does not exist
2022-08-01 05:51:38 -07:00
446b18d35a
Merge pull request #1641 from PyCQA/entry-points-not-pickleable
...
work around un-pickleabiliy of EntryPoint in 3.8.0
2022-08-01 08:48:19 -04:00
b70d7a2f7d
work around un-pickleabiliy of EntryPoint in 3.8.0
2022-08-01 05:37:47 -07:00
91a7fa9ac3
fix order of release notes
2022-07-31 21:54:32 -04:00
405cfe06e0
Release 5.0.1
5.0.1
2022-07-31 18:10:18 -04:00
d20bb97f41
Merge pull request #1631 from PyCQA/dupe-sys-path
...
prevent duplicate plugin discovery on misconfigured pythons
2022-07-31 18:07:18 -04:00
fce93b952a
prevent duplicate plugin discovery on misconfigured pythons
...
for example, `venv`-virtualenvs on fedora have both `lib` and `lib64` on
`sys.path` despite them being the same. this causes
`importlib.metadata.distributions` to double-discover.
```console
$ docker run --rm -t fedora:latest bash -c 'dnf install -qq -y python3 >& /dev/null && python3 -m venv venv && venv/bin/pip -qq install cfgv && venv/bin/python - <<< "from importlib.metadata import distributions; print(len([d for d in distributions() if d.name == '"'"'cfgv'"'"']))"'
2
```
2022-07-31 18:03:25 -04:00
3f4872a4d8
Merge pull request #1628 from mxr/patch-1
...
Remove needless sort in `_style_guide_for`
2022-07-31 11:10:54 -04:00
b0cad5530e
Remove needless sort in _style_guide_for
...
We are always returning the last element so a 'max' operation is sufficient instead of sorting. Note the old code did not handle an empty list so this change doesn't either
2022-07-31 07:37:54 -04:00
c7c6218e58
Release 5.0.0
5.0.0
2022-07-30 17:00:41 -04:00
a826649b41
Merge pull request #1626 from PyCQA/pycodestyle-2-9
...
upgrade pycodestyle to 2.9.x
2022-07-30 15:41:57 -04:00
7838f1191c
upgrade pycodestyle to 2.9.x
2022-07-30 15:38:58 -04:00
66b3211646
Merge pull request #1625 from PyCQA/upgrade-pyflakes
...
upgrade pyflakes to 2.5.x
2022-07-30 13:41:06 -04:00
b9e0c6eb50
upgrade pyflakes to 2.5.x
2022-07-30 13:35:02 -04:00
e406f30e23
Merge pull request #1623 from atugushev/typo-fix
...
Fix a typo
2022-07-27 16:33:28 -04:00