https://pantsbuild.org/ logo
#general
Title
# general
r

ripe-cpu-85141

08/06/2022, 1:36 AM
is there a way to not type check (with mypy) some files? I tried to add
Copy code
[mypy]
args = ["--exclude", "pattern"]
but it doesn't seem to work, I guess because pants calls mypy on those files directly.
this is a common gotcha - I wonder if it would make sense for us to eagerly detect when
--exclude
is being used and warn?
r

ripe-cpu-85141

08/07/2022, 2:21 PM
ah yes, I'm still not used to the BUILD files, I stayed stuck looking at the pants.toml. Sorry for the noise!
5 Views