Skip to content

Commit 7289823

Browse files
authored
Prepare for release 23.3.1 (#359)
1 parent fbad8a5 commit 7289823

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Change Log
22

3-
## Unreleased
3+
## 23.1.1
44

55
New error codes:
66
* Y053: Disallow string or bytes literals with length >50 characters.

pyi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def unparse(node: ast.AST) -> str:
3939
# and mypy thinks typing_extensions is part of the stdlib.
4040
from typing_extensions import Literal, TypeAlias, TypeGuard
4141

42-
__version__ = "23.3.0"
42+
__version__ = "23.3.1"
4343

4444
LOG = logging.getLogger("flake8.pyi")
4545
FLAKE8_MAJOR_VERSION = flake8.__version_info__[0]
@@ -720,7 +720,7 @@ def _analyse_union(members: Sequence[ast.expr]) -> UnionAnalysis:
720720

721721

722722
def _is_valid_default_value_with_annotation(
723-
node: ast.expr, allow_containers=True
723+
node: ast.expr, *, allow_containers: bool = True
724724
) -> bool:
725725
"""Is `node` valid as a default value for a function or method parameter in a stub?
726726

0 commit comments

Comments
 (0)