Skip to content

Commit 02d72c2

Browse files
committed
remove unused ignores for mypy 1.20
Change-Id: I2362c054b22d18c079a410904377e2b671c7251d
1 parent 7b510dc commit 02d72c2

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

alembic/script/revision.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ def _walk(
10551055
children: Sequence[Optional[_RevisionOrBase]]
10561056
for _ in range(abs(steps)):
10571057
if steps > 0:
1058-
assert initial != "base" # type: ignore[comparison-overlap]
1058+
assert initial != "base"
10591059
# Walk up
10601060
walk_up = [
10611061
is_revision(rev)
@@ -1069,7 +1069,7 @@ def _walk(
10691069
children = walk_up
10701070
else:
10711071
# Walk down
1072-
if initial == "base": # type: ignore[comparison-overlap]
1072+
if initial == "base":
10731073
children = ()
10741074
else:
10751075
children = self.get_revisions(

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ strict = true
151151
[[tool.mypy.overrides]]
152152
module = [
153153
'mako.*',
154-
'sqlalchemy.testing.*'
155154
]
156155
ignore_missing_imports = true
157156

0 commit comments

Comments
 (0)