summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/crud.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2022-04-11 22:21:20 +0200
committerFederico Caselli <cfederico87@gmail.com>2022-04-11 22:48:23 +0200
commit11bf82447438a9d5d9df9d613bf245694d6120dc (patch)
tree727dd81d7dbf9811b15639aabb4ee69ce4ee5646 /lib/sqlalchemy/sql/crud.py
parentfd052732604a0d03167978215f0077e60b75851d (diff)
downloadsqlalchemy-11bf82447438a9d5d9df9d613bf245694d6120dc.tar.gz
update flake8 noqa skips with proper syntax
Change-Id: I42ed77f559e3ee5b8c600d98457ee37803ef0ea6
Diffstat (limited to 'lib/sqlalchemy/sql/crud.py')
-rw-r--r--lib/sqlalchemy/sql/crud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql/crud.py b/lib/sqlalchemy/sql/crud.py
index f6db2c4b2..e4408cd31 100644
--- a/lib/sqlalchemy/sql/crud.py
+++ b/lib/sqlalchemy/sql/crud.py
@@ -430,7 +430,7 @@ def _key_getters_for_crud_column(
_column_as_key = functools.partial( # type: ignore
coercions.expect_as_key, roles.DMLColumnRole
)
- _getattr_col_key = _col_bind_name = operator.attrgetter("key") # type: ignore # noqa E501
+ _getattr_col_key = _col_bind_name = operator.attrgetter("key") # type: ignore # noqa: E501
return _column_as_key, _getattr_col_key, _col_bind_name