Skip to content

Commit

Permalink
Bump mypy and pytest test dependencies (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Mar 11, 2023
1 parent 4212bec commit 40d547e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyi.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ def LAMBDA(self, node: ast.Lambda) -> None:
to LAMBDA visiting the function's body is already deferred and the
only eager calls to `handleNode` are for annotations.
"""
self.handleNode, self.deferHandleNode = self.deferHandleNode, self.handleNode # type: ignore[assignment]
self.handleNode, self.deferHandleNode = self.deferHandleNode, self.handleNode # type: ignore[method-assign]
super().LAMBDA(node)
self.handleNode, self.deferHandleNode = self.deferHandleNode, self.handleNode # type: ignore[assignment]
self.handleNode, self.deferHandleNode = self.deferHandleNode, self.handleNode # type: ignore[method-assign]

def CLASSDEF(self, node: ast.ClassDef) -> None:
if not isinstance(self.scope, ModuleScope):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ dev = [
"flake8-bugbear==23.2.13",
"flake8-noqa==1.3.0",
"isort==5.12.0; python_version >= '3.8'", # Must match .pre-commit-config.yaml
"mypy==1.0.1",
"mypy==1.1.1",
"pre-commit-hooks==4.4.0", # Must match .pre-commit-config.yaml
"pytest==7.2.1",
"pytest==7.2.2",
"types-pyflakes<4",
]

Expand Down

0 comments on commit 40d547e

Please sign in to comment.