Files
python-ironicclient/pyproject.toml
Karan Anand 8d59cc726c Add mypy infrastructure for type annotation migration
This commit adds the tooling necessary to support gradual type
annotation of the codebase:
- Add mypy to test-requirements.txt
- Add mypy configuration to pyproject.toml with a list of
  type-checked modules (initially empty, to be populated as
  modules are migrated)
- Add tox mypy environment for running type checks
- Add mypy pre-commit hook

This follows the same pattern established in `ironic-prometheus-exporter`.

Change-Id: Ie9e4b5ebccff4ce29b4e014c62f09594d968d721
Signed-off-by: Karan Anand <anandkarancompsci@gmail.com>
2026-02-15 14:55:50 -05:00

12 lines
346 B
TOML

[build-system]
requires = ["pbr>=6.0.0", "setuptools>=64.0.0"]
build-backend = "pbr.build"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
# Modules that have been fully type-annotated. Add modules here as they are
# migrated to enable strict type checking for them.
files = []