We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 035804f commit bd8bdeaCopy full SHA for bd8bdea
.pre-commit-config.yaml
@@ -40,7 +40,6 @@ repos:
40
- repo: https://github.com/pre-commit/pygrep-hooks
41
rev: v1.3.0
42
hooks:
43
- - id: python-check-blanket-noqa
44
- id: python-check-mock-methods
45
- id: python-no-log-warn
46
- repo: https://github.com/PyCQA/bandit
src/cloudformation_cli_python_lib/recast.py
@@ -127,5 +127,5 @@ def get_forward_ref_type() -> Any:
127
# introspection is valid:
128
# https://docs.python.org/3/library/typing.html#typing.ForwardRef
129
if "ForwardRef" in dir(typing):
130
- return typing.ForwardRef # type: ignore
+ return typing.ForwardRef # noqa
131
return typing._ForwardRef # type: ignore
0 commit comments