From 47804f2621a2843f6dc185ef4656ca29b71a6999 Mon Sep 17 00:00:00 2001 From: AlexWaygood Date: Sat, 28 May 2022 16:31:55 +0100 Subject: [PATCH] `mypy_test.py`: Skip `Flask-SQLAlchemy` --- tests/mypy_test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/mypy_test.py b/tests/mypy_test.py index 79d8ab8f0dae..094befd467fe 100755 --- a/tests/mypy_test.py +++ b/tests/mypy_test.py @@ -369,8 +369,9 @@ def test_third_party_stubs(code: int, major: int, minor: int, args: argparse.Nam files_checked = 0 for distribution in sorted(os.listdir("stubs")): - if distribution == "SQLAlchemy": - continue # Crashes + if distribution in {"SQLAlchemy", "Flask-SQLAlchemy"}: + print(colored(f"Skipping {distribution} due to mypy crashes", "yellow")) + continue distribution_path = Path("stubs", distribution)