Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support installation with flake8>=7; tidy up changelog #458

Merged
merged 1 commit into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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