Thursday 27 January 2022

mypy - erroring when there are no Python files

Is there a way to stop mypy erroring when it doesn't find any .py files? In essence, this isn't an error. What Im looking to do is hide or silence this one error.

$ poetry run mypy .
There are no .py[i] files in directory '.'
Error: Process completed with exit code 2.

Thanks,



from mypy - erroring when there are no Python files

No comments:

Post a Comment