From 623ff835fc4b95b04680d070ad4949c52fda791b Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Thu, 16 Jan 2025 10:24:29 -0800 Subject: [PATCH] mypy: update python version to avoid error/warning (#48593) * pyproject: remove mypy python version option since defaults to python used to run it (#48593) --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index be97f0421ed..66c384f6fac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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