Add type hints to spack.util.executable.Executable (#48468)

* Add type-hints to `spack.util.executable.Executable`
* Add type-hint to input
* Use overload, and remove assertions at calling sites
* Bump mypy to v1.11.2 (working locally), Python to 3.13
This commit is contained in:
Massimiliano Culpo
2025-01-09 23:16:24 +01:00
committed by GitHub
parent 46da7952d3
commit 5085f635dd
3 changed files with 129 additions and 93 deletions

View File

@@ -2,6 +2,6 @@ black==24.10.0
clingo==5.7.1
flake8==7.1.1
isort==5.13.2
mypy==1.8.0
mypy==1.11.2
types-six==1.17.0.20241205
vermin==1.6.0