summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql/selectable.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/selectable.py
parentfd052732604a0d03167978215f0077e60b75851d (diff)
downloadsqlalchemy-11bf82447438a9d5d9df9d613bf245694d6120dc.tar.gz
update flake8 noqa skips with proper syntax
Change-Id: I42ed77f559e3ee5b8c600d98457ee37803ef0ea6
Diffstat (limited to 'lib/sqlalchemy/sql/selectable.py')
-rw-r--r--lib/sqlalchemy/sql/selectable.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py
index 292225ce2..d7cc32733 100644
--- a/lib/sqlalchemy/sql/selectable.py
+++ b/lib/sqlalchemy/sql/selectable.py
@@ -288,7 +288,7 @@ class Selectable(ReturnsRows):
object, returning a copy of this :class:`_expression.FromClause`.
"""
- return util.preloaded.sql_util.ClauseAdapter(alias).traverse( # type: ignore # noqa E501
+ return util.preloaded.sql_util.ClauseAdapter(alias).traverse( # type: ignore # noqa: E501
self
)
@@ -1040,7 +1040,7 @@ class SelectLabelStyle(Enum):
.. versionadded:: 1.4
- """ # noqa E501
+ """ # noqa: E501
LABEL_STYLE_TABLENAME_PLUS_COL = 1
"""Label style indicating all columns should be labeled as
@@ -1691,7 +1691,7 @@ class TableValuedAlias(LateralFromClause, Alias):
:ref:`tutorial_functions_table_valued` - in the :ref:`unified_tutorial`
- """ # noqa E501
+ """ # noqa: E501
__visit_name__ = "table_valued_alias"
@@ -1820,7 +1820,7 @@ class TableValuedAlias(LateralFromClause, Alias):
datatype specification with each column. This is a special syntax
currently known to be required by PostgreSQL for some SQL functions.
- """ # noqa E501
+ """ # noqa: E501
# note: don't use the @_generative system here, keep a reference
# to the original object. otherwise you can have re-use of the
@@ -5657,7 +5657,7 @@ class Select(
.. versionadded:: 1.4.23
- """ # noqa E501
+ """ # noqa: E501
# memoizations should be cleared here as of
# I95c560ffcbfa30b26644999412fb6a385125f663 , asserting this