Skip to content

Commit 5c80931

Browse files
committed
Revert "removing unused ignore type comment"
This reverts commit d3772be.
1 parent a488eea commit 5c80931

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ repos:
4949
- id: bandit
5050
files: ^(src|python)/
5151
- repo: https://github.com/pre-commit/mirrors-mypy
52-
rev: v0.790
52+
rev: v0.780
5353
hooks:
5454
- id: mypy
5555
files: ^src/

src/cloudformation_cli_python_lib/recast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,5 @@ def get_forward_ref_type() -> Any:
127127
# introspection is valid:
128128
# https://docs.python.org/3/library/typing.html#typing.ForwardRef
129129
if "ForwardRef" in dir(typing):
130-
return typing.ForwardRef
130+
return typing.ForwardRef # type: ignore
131131
return typing._ForwardRef # type: ignore

0 commit comments

Comments
 (0)