Skip to content

Commit

Permalink
flake8 has very courteously referred us to another pyqca project and …
Browse files Browse the repository at this point in the history
…closed all comments, thank you! I'll get on that right away

pyqca/flake8-import-order does not seem to have a release or a commit
in the past two years, so while I have created an issue and PR [1] [2],
for now vendor our fork so we can get on with things.

Also fix one issue for flake8 6.0

[1] PyCQA/flake8-import-order#189
[2] PyCQA/flake8-import-order#190

Change-Id: I53045f65b8716cceaf2104fccc1d26f80b398fef
References: PyCQA/flake8#1751
  • Loading branch information
zzzeek committed Nov 23, 2022
1 parent 1c9aa8c commit fbec926
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sqlalchemy/sql/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -4997,7 +4997,7 @@ def drop(self, bind: _CreateDropBind, checkfirst: bool = False) -> None:
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(
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbec926

Please sign in to comment.