Skip to content

Commit

Permalink
Prepare for release 23.1.0 (#328)
Browse files Browse the repository at this point in the history
Closes #308
  • Loading branch information
AlexWaygood authored Jan 16, 2023
1 parent 2125e64 commit 503d2df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Change Log

## Unreleased
## 23.1.0

Bugfixes:
* Do not emit Y020 (quoted annotations) for strings in parameter defaults.
* Fix checking of defaults for functions with positional-only parameters.

Other changes:
* Hatchling is now used as the build backend. This should have minimal, if any,
user-facing impact.
* Modify Y036 so that `_typeshed.Unused` is allowed as an annotation for
parameters in `__(a)exit__` methods. Contributed by
[Avasam](https://github.com/Avasam)
Expand All @@ -25,6 +23,8 @@ Other changes:
* Y011, Y014 and Y015 have all been significantly relaxed. `None`, `bool`s,
`int`s, `float`s, `complex` numbers, strings and `bytes` are all now allowed
as default values for parameter annotations or assignments.
* Hatchling is now used as the build backend. This should have minimal, if any,
user-facing impact.

## 22.11.0

Expand Down
2 changes: 1 addition & 1 deletion pyi.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def unparse(node: ast.AST) -> str:
# and mypy thinks typing_extensions is part of the stdlib.
from typing_extensions import Literal, TypeAlias, TypeGuard

__version__ = "22.11.0"
__version__ = "23.1.0"

LOG = logging.getLogger("flake8.pyi")
FLAKE8_MAJOR_VERSION = flake8.__version_info__[0]
Expand Down

0 comments on commit 503d2df

Please sign in to comment.