Skip to content

Commit 4711624

Browse files
authored
Support installation with flake8>=7; tidy up changelog (#458)
1 parent bbb152e commit 4711624

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,17 @@
55
New error codes:
66
* Y062: Disallow duplicate elements inside `Literal[]` slices.
77

8-
Other changes:
8+
Other features:
9+
* Support flake8>=7.0.0
910
* Y061 is no longer emitted in situations where Y062 would also be emitted.
1011
* Improve error message for Y060.
1112

13+
Bugfixes:
14+
* Y016: Fix false positive if a method had positional-only parameters (using
15+
[PEP 570 syntax](https://peps.python.org/pep-0570/) and the first
16+
positional-or-keyword parameter following the positional-only parameters used
17+
a custom TypeVar (see #455).
18+
1219
## 23.11.0
1320

1421
New error codes:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ classifiers = [
4747
"Topic :: Software Development :: Quality Assurance",
4848
]
4949
dependencies = [
50-
"flake8 >= 6.0.0, < 7.0.0",
50+
"flake8 >= 6.0.0, < 8.0.0",
5151
"pyflakes >= 2.1.1",
5252
"ast-decompiler >= 0.7.0, < 1.0; python_version < '3.9'",
5353
]
@@ -66,7 +66,7 @@ dev = [
6666
"isort==5.13.2", # Must match .pre-commit-config.yaml
6767
"mypy==1.8.0",
6868
"pre-commit-hooks==4.5.0", # Must match .pre-commit-config.yaml
69-
"pytest==7.4.3",
69+
"pytest==7.4.4",
7070
"pytest-xdist==3.5.0",
7171
"types-pyflakes<4",
7272
]

0 commit comments

Comments
 (0)