From 8e8176b24ca95a75b7ac6034efd85119a955864c Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 28 May 2022 18:18:57 +0100 Subject: [PATCH] `mypy_test.py`: Skip `Flask-SQLAlchemy` (#7977) --- 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 79d8ab8f0..094befd46 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)