Run mypy from tox

This avoids the need to duplicate our dependency list in multiple places
and allows us to take advantage of tox's dependency management
infrastructure, to ensure we always get the latest and greatest version
of a package allowed by upper-constraints. It also removes the slowest
pre-commit hook (by some distance), making pre-commit faster.

Change-Id: Ie241768231f180d5a672bf9f8fdc6a1eb8d7dfdb
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-12-08 18:37:34 +00:00
parent 66bad0b1d9
commit dc31f9fd61
3 changed files with 10 additions and 40 deletions
-1
View File
@@ -124,7 +124,6 @@ follow_imports = "skip"
incremental = true
check_untyped_defs = true
warn_unused_ignores = true
# keep this in-sync with 'mypy.exclude' in '.pre-commit-config.yaml'
files = [
"nova/compute/manager.py",
"nova/compute/pci_placement_translator.py",