mypy: update python version to avoid error/warning (#48593)

* pyproject: remove mypy python version option since defaults to python used to run it (#48593)
This commit is contained in:
Tamara Dahlgren 2025-01-16 10:24:29 -08:00 committed by GitHub
parent ca19790ff2
commit 623ff835fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,7 +92,6 @@ src_paths = "lib"
honor_noqa = true
[tool.mypy]
python_version = 3.7
files = ['lib/spack/llnl/**/*.py', 'lib/spack/spack/**/*.py', './var/spack/repos/builtin/packages/*/package.py']
mypy_path = ['bin', 'lib/spack', 'lib/spack/external', 'var/spack/repos/builtin']
allow_redefinition = true