mypy
Configuration
Via command line:
mypy --disallow-untyped-defs
# Make sure any provided defs are complete
mypy --disallow-incomplete-defs
In a mypi.ini
file:
[mypy]
disallow_incomplete_defs = True
Configuration in pyproject.toml
mypi can pickup configuration from a shared pyproject.toml file. It just needs to be prefixed with tool.
.
[tool.mypy]
disallow_incomplete_defs = true