exclude tests/data/.* from mypy (#3917)

This commit is contained in:
John Litborn 2023-10-06 03:15:35 +02:00 committed by GitHub
parent 6c88e8e46e
commit 27c05e1e24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,3 +39,8 @@ ignore_missing_imports = True
[mypy-_black_version.*] [mypy-_black_version.*]
ignore_missing_imports = True ignore_missing_imports = True
# CI only checks src/, but in case users are running LSP or similar we explicitly ignore
# errors in test data files.
[mypy-tests.data.*]
ignore_errors = True