summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sqlalchemy/sql/schema.py2
-rw-r--r--tox.ini3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py
index f76fc447c..f1caf79be 100644
--- a/lib/sqlalchemy/sql/schema.py
+++ b/lib/sqlalchemy/sql/schema.py
@@ -4997,7 +4997,7 @@ class Index(
bind._run_ddl_visitor(ddl.SchemaDropper, self, checkfirst=checkfirst)
def __repr__(self) -> str:
- exprs: _typing_Sequence[Any]
+ exprs: _typing_Sequence[Any] # noqa: F842
return "Index(%s)" % (
", ".join(
diff --git a/tox.ini b/tox.ini
index bb92e65b2..19e857564 100644
--- a/tox.ini
+++ b/tox.ini
@@ -166,7 +166,8 @@ setenv=
basepython = python3
deps=
flake8
- flake8-import-order
+ #flake8-import-order
+ git+https://github.com/sqlalchemyorg/flake8-import-order@fix_options
flake8-builtins
flake8-future-annotations>=0.0.5
flake8-docstrings>=1.6.0