mypy disabling individual warnings
- Python Type Hints - How to Manage “type: ignore” Comments with Mypy - Adam Johnson
- The mypy configuration file — Mypy 0.940+dev.63abf4b5b26edb2c7db2a9ff50dfa0e63a43434a.dirty documentation
Things I can pass to mypy
like mypy --disallow-any-generics
can be configured in pyproject.toml
:
[tool.mypy]
show_error_codes = true
warn_unused_ignores = false
disallow_any_generics = false
ignore_missing_imports = true
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus