diff options
author | Federico Caselli <cfederico87@gmail.com> | 2022-04-11 22:21:20 +0200 |
---|---|---|
committer | Federico Caselli <cfederico87@gmail.com> | 2022-04-11 22:48:23 +0200 |
commit | 11bf82447438a9d5d9df9d613bf245694d6120dc (patch) | |
tree | 727dd81d7dbf9811b15639aabb4ee69ce4ee5646 /lib/sqlalchemy/util/typing.py | |
parent | fd052732604a0d03167978215f0077e60b75851d (diff) | |
download | sqlalchemy-11bf82447438a9d5d9df9d613bf245694d6120dc.tar.gz |
update flake8 noqa skips with proper syntax
Change-Id: I42ed77f559e3ee5b8c600d98457ee37803ef0ea6
Diffstat (limited to 'lib/sqlalchemy/util/typing.py')
-rw-r--r-- | lib/sqlalchemy/util/typing.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sqlalchemy/util/typing.py b/lib/sqlalchemy/util/typing.py index 0b9d8c62c..df54017da 100644 --- a/lib/sqlalchemy/util/typing.py +++ b/lib/sqlalchemy/util/typing.py @@ -47,16 +47,16 @@ else: if typing.TYPE_CHECKING or compat.py310: from typing import Annotated as Annotated else: - from typing_extensions import Annotated as Annotated # noqa F401 + from typing_extensions import Annotated as Annotated # noqa: F401 if typing.TYPE_CHECKING or compat.py38: from typing import Literal as Literal from typing import Protocol as Protocol from typing import TypedDict as TypedDict else: - from typing_extensions import Literal as Literal # noqa F401 - from typing_extensions import Protocol as Protocol # noqa F401 - from typing_extensions import TypedDict as TypedDict # noqa F401 + from typing_extensions import Literal as Literal # noqa: F401 + from typing_extensions import Protocol as Protocol # noqa: F401 + from typing_extensions import TypedDict as TypedDict # noqa: F401 # copied from TypeShed, required in order to implement # MutableMapping.update() @@ -77,8 +77,8 @@ if typing.TYPE_CHECKING or not compat.py310: from typing_extensions import Concatenate as Concatenate from typing_extensions import ParamSpec as ParamSpec else: - from typing import Concatenate as Concatenate # noqa F401 - from typing import ParamSpec as ParamSpec # noqa F401 + from typing import Concatenate as Concatenate # noqa: F401 + from typing import ParamSpec as ParamSpec # noqa: F401 def de_stringify_annotation( |