Is there a way to have target local pylint/mypy ar...
# general
h
Is there a way to have target local pylint/mypy arguments? For example, I want my core projects to have extremely strict lint and type checking requirements, while allowing things to be a bit looser in leaf projects?
h
I think not, but @hundreds-father-404 would know best
h
It looks I can do package-level configuration of mypy, I can’t seem to do it with pylint. Maybe I just need to not use pylint 🙂
h
How are you doing that? With package-level mypy.conf?
This does seem like useful functionality to have, after Eric weighs in maybe a feature request would make sense
There may already be a way to do this that I'm missing
h
It seems like mypy supports through patterns: https://mypy.readthedocs.io/en/latest/config_file.html#config-file-format and flake8 through per-file ignores: https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-per-file-ignores I haven’t tested this yet.