Commit graph

2259 commits

Author SHA1 Message Date
Anthony Sottile
ff6569b87d Release 5.0.3 2022-08-01 19:21:10 -04:00
Anthony Sottile
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
Anthony Sottile
25e8ff18b3 ignore config files that partially parse as flake8 configs 2022-08-01 19:11:53 -04:00
Anthony Sottile
70c0b3d27a Release 5.0.2 2022-08-01 06:01:45 -07:00
Anthony Sottile
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
Anthony Sottile
8b51ee4ea5 skip skipping home if home does not exist 2022-08-01 05:51:38 -07:00
Anthony Sottile
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
Anthony Sottile
b70d7a2f7d work around un-pickleabiliy of EntryPoint in 3.8.0 2022-08-01 05:37:47 -07:00
Anthony Sottile
91a7fa9ac3
fix order of release notes 2022-07-31 21:54:32 -04:00
Anthony Sottile
405cfe06e0 Release 5.0.1 2022-07-31 18:10:18 -04:00
Anthony Sottile
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
Anthony Sottile
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
Anthony Sottile
3f4872a4d8
Merge pull request #1628 from mxr/patch-1
Remove needless sort in `_style_guide_for`
2022-07-31 11:10:54 -04:00
Max R
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
Anthony Sottile
c7c6218e58 Release 5.0.0 2022-07-30 17:00:41 -04:00
Anthony Sottile
a826649b41
Merge pull request #1626 from PyCQA/pycodestyle-2-9
upgrade pycodestyle to 2.9.x
2022-07-30 15:41:57 -04:00
Anthony Sottile
7838f1191c upgrade pycodestyle to 2.9.x 2022-07-30 15:38:58 -04:00
Anthony Sottile
66b3211646
Merge pull request #1625 from PyCQA/upgrade-pyflakes
upgrade pyflakes to 2.5.x
2022-07-30 13:41:06 -04:00
Anthony Sottile
b9e0c6eb50 upgrade pyflakes to 2.5.x 2022-07-30 13:35:02 -04:00
Anthony Sottile
e406f30e23
Merge pull request #1623 from atugushev/typo-fix
Fix a typo
2022-07-27 16:33:28 -04:00
Albert Tugushev
d891612d78 Fix a typo 2022-07-27 22:24:01 +02:00
Anthony Sottile
ba0c4c7ed4
Merge pull request #1622 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-07-25 19:51:50 -04:00
pre-commit-ci[bot]
858c6d416c
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/reorder_python_imports: v3.8.1 → v3.8.2](https://github.com/asottile/reorder_python_imports/compare/v3.8.1...v3.8.2)
- [github.com/asottile/pyupgrade: v2.37.1 → v2.37.2](https://github.com/asottile/pyupgrade/compare/v2.37.1...v2.37.2)
- [github.com/pre-commit/mirrors-mypy: v0.961 → v0.971](https://github.com/pre-commit/mirrors-mypy/compare/v0.961...v0.971)
2022-07-25 23:42:59 +00:00
Anthony Sottile
e8f9eb369a
Merge pull request #1618 from PyCQA/actually-ignore-home-flake8
ignore config files in the home directory
2022-07-13 16:47:36 -04:00
Anthony Sottile
14a91d995c ignore config files in the home directory 2022-07-13 15:40:40 -04:00
Anthony Sottile
fb439e1545
Merge pull request #1615 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-07-11 19:30:36 -04:00
pre-commit-ci[bot]
2bb7d25ac7
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/reorder_python_imports: v3.3.0 → v3.8.1](https://github.com/asottile/reorder_python_imports/compare/v3.3.0...v3.8.1)
- [github.com/asottile/pyupgrade: v2.34.0 → v2.37.1](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.37.1)
2022-07-11 23:19:09 +00:00
Anthony Sottile
bd1656c1d1
Merge pull request #1613 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-07-04 20:26:20 -04:00
pre-commit-ci[bot]
7c10ae1994
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/reorder_python_imports: v3.1.0 → v3.3.0](https://github.com/asottile/reorder_python_imports/compare/v3.1.0...v3.3.0)
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)
2022-07-05 00:16:44 +00:00
Anthony Sottile
854466e2df
Merge pull request #1612 from stdedos/docs/discord-link
Add Discord invite badge to README.rst
2022-07-04 17:41:39 -04:00
Stavros Ntentos
ece6e2d1a8 Add Discord invite badge to README.rst
Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
2022-07-04 21:35:53 +03:00
Anthony Sottile
92031ae589
Merge pull request #1609 from PyCQA/explicit
don't consider default codes as explicitly selected unless listed
2022-06-24 17:59:56 -04:00
Anthony Sottile
367c810f0e don't consider default codes as explicitly selected unless listed 2022-06-24 17:55:41 -04:00
Anthony Sottile
9f608813b8
Merge pull request #1607 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-06-13 20:18:37 -04:00
pre-commit-ci[bot]
7a6a0c856e
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v4.3.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v4.3.0)
- [github.com/asottile/pyupgrade: v2.33.0 → v2.34.0](https://github.com/asottile/pyupgrade/compare/v2.33.0...v2.34.0)
- [github.com/pre-commit/mirrors-mypy: v0.960 → v0.961](https://github.com/pre-commit/mirrors-mypy/compare/v0.960...v0.961)
2022-06-14 00:05:52 +00:00
Anthony Sottile
00e4bcb100
Merge pull request #1602 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-06-06 18:11:37 -04:00
pre-commit-ci[bot]
df19ff0def
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.32.1 → v2.33.0](https://github.com/asottile/pyupgrade/compare/v2.32.1...v2.33.0)
2022-06-06 21:58:56 +00:00
Anthony Sottile
52b7807ea5
Merge pull request #1599 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-05-30 18:30:07 -04:00
Anthony Sottile
6cff5dd2d7
Merge pull request #1600 from PyCQA/fix-docs
fix docs build for sphinx 5.x
2022-05-30 18:26:50 -04:00
Anthony Sottile
9afcda1286 fix docs build for sphinx 5.x 2022-05-30 18:24:13 -04:00
pre-commit-ci[bot]
f17f77c86d
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-mypy: v0.950 → v0.960](https://github.com/pre-commit/mirrors-mypy/compare/v0.950...v0.960)
2022-05-30 22:11:03 +00:00
Anthony Sottile
1c85f3d07c
Merge pull request #1595 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-05-09 15:19:46 -07:00
pre-commit-ci[bot]
647eafbfd5
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.32.0 → v2.32.1](https://github.com/asottile/pyupgrade/compare/v2.32.0...v2.32.1)
2022-05-09 22:07:33 +00:00
Anthony Sottile
eb348d921b
Merge pull request #1590 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-05-02 18:08:14 -04:00
pre-commit-ci[bot]
50c60d3d2a
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/reorder_python_imports: v3.0.1 → v3.1.0](https://github.com/asottile/reorder_python_imports/compare/v3.0.1...v3.1.0)
- [github.com/pre-commit/mirrors-mypy: v0.942 → v0.950](https://github.com/pre-commit/mirrors-mypy/compare/v0.942...v0.950)
2022-05-02 21:59:09 +00:00
Anthony Sottile
5957479572
Merge pull request #1586 from PyCQA/asottile-patch-1
correct string example for E501 exclusions
2022-04-25 13:02:44 -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
aff9c854ae
Merge pull request #1585 from PyCQA/outdated-docs
remove outdated output-file example from docs
2022-04-22 16:42:49 -04:00
Anthony Sottile
a626e659c4 remove outdated output-file example from docs 2022-04-22 13:38:35 -07:00
Anthony Sottile
463d9b1ce9
Merge pull request #1583 from PyCQA/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-04-11 19:44:39 -04:00