Files
neutron/pyproject.toml
Stephen Finucane f4dafbeef6 Move mypy configuration to pyproject.toml
Change-Id: I5938f47c5941bdbe57f2219a78153d5431e93eb7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-05-21 18:14:13 +01:00

20 lines
626 B
TOML

[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
build-backend = "pbr.build"
[tool.mypy]
incremental = true
pretty = true
show_error_context = true
show_column_numbers = true
warn_unused_ignores = true
# remove gradually as progress is made
disable_error_code = "import-untyped,var-annotated,import-not-found"
# honor excludes by not following there through imports
follow_imports = "silent"
files = "neutron"
# NOTE: Gradually enable type checking for each package.
# Finally, when the whole repo is migrated this option can be deleted
# and rules applied to the whole repo.
exclude = "(?x)(^neutron/tests/$)"