Skip to content

Commit 8e8176b

Browse files
authored
mypy_test.py: Skip Flask-SQLAlchemy (#7977)
1 parent 3191c1a commit 8e8176b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/mypy_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,9 @@ def test_third_party_stubs(code: int, major: int, minor: int, args: argparse.Nam
369369
files_checked = 0
370370

371371
for distribution in sorted(os.listdir("stubs")):
372-
if distribution == "SQLAlchemy":
373-
continue # Crashes
372+
if distribution in {"SQLAlchemy", "Flask-SQLAlchemy"}:
373+
print(colored(f"Skipping {distribution} due to mypy crashes", "yellow"))
374+
continue
374375

375376
distribution_path = Path("stubs", distribution)
376377

0 commit comments

Comments
 (0)