Skip to content

Commit

Permalink
Prepare for release 23.3.1 (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Mar 20, 2023
1 parent fbad8a5 commit 7289823
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log

## Unreleased
## 23.1.1

New error codes:
* Y053: Disallow string or bytes literals with length >50 characters.
Expand Down
4 changes: 2 additions & 2 deletions 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__ = "23.3.0"
__version__ = "23.3.1"

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


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

0 comments on commit 7289823

Please sign in to comment.