summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/mypy/util.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2022-07-31 11:56:07 +0200
committerFederico Caselli <cfederico87@gmail.com>2022-07-31 11:56:07 +0200
commitf8c4dba4e9f130c18ce00597c036bc26ae7abf90 (patch)
tree8c93965b1d9ba365522ca78435db027d73ed5e71 /lib/sqlalchemy/ext/mypy/util.py
parent14bfbadfdf9260a1c40f63b31641b27fe9de12a0 (diff)
downloadsqlalchemy-f8c4dba4e9f130c18ce00597c036bc26ae7abf90.tar.gz
Update to flake8 5.
Change-Id: I5a241a70efba68bcea9819ddce6aebc25703e68d
Diffstat (limited to 'lib/sqlalchemy/ext/mypy/util.py')
-rw-r--r--lib/sqlalchemy/ext/mypy/util.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/mypy/util.py b/lib/sqlalchemy/ext/mypy/util.py
index 49fe5140f..44a1768a8 100644
--- a/lib/sqlalchemy/ext/mypy/util.py
+++ b/lib/sqlalchemy/ext/mypy/util.py
@@ -76,8 +76,9 @@ class SQLAlchemyAttribute:
}
def expand_typevar_from_subtype(self, sub_type: TypeInfo) -> None:
- """Expands type vars in the context of a subtype when an attribute is inherited
- from a generic super type."""
+ """Expands type vars in the context of a subtype when an attribute is
+ inherited from a generic super type.
+ """
if not isinstance(self.type, TypeVarType):
return