Skip to content

Commit

Permalink
Support installation with flake8>=7; tidy up changelog (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Jan 5, 2024
1 parent bbb152e commit 4711624
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@
New error codes:
* Y062: Disallow duplicate elements inside `Literal[]` slices.

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

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

## 23.11.0

New error codes:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ classifiers = [
"Topic :: Software Development :: Quality Assurance",
]
dependencies = [
"flake8 >= 6.0.0, < 7.0.0",
"flake8 >= 6.0.0, < 8.0.0",
"pyflakes >= 2.1.1",
"ast-decompiler >= 0.7.0, < 1.0; python_version < '3.9'",
]
Expand All @@ -66,7 +66,7 @@ dev = [
"isort==5.13.2", # Must match .pre-commit-config.yaml
"mypy==1.8.0",
"pre-commit-hooks==4.5.0", # Must match .pre-commit-config.yaml
"pytest==7.4.3",
"pytest==7.4.4",
"pytest-xdist==3.5.0",
"types-pyflakes<4",
]
Expand Down

0 comments on commit 4711624

Please sign in to comment.