https://pantsbuild.org/ logo
a

adorable-engine-71736

05/24/2022, 1:48 PM
is there a way to exclude specific files from (
mypy
) typechecking ? if add
--exclude
to my mypy args, or add in my
mypy.ini
they seem to be ignored - im guessing because the filepaths are passed explicitly - im wondering if there is a pants way to prevent some files from being included
1
h

happy-kitchen-89482

05/24/2022, 1:49 PM
You can set
skip_mypy=True
on the relevant target (or on specific files via
overrides=
)
a

adorable-engine-71736

05/24/2022, 1:50 PM
great, thanks!
❤️ 1
7 Views