diff options
author | Todd Gamblin <gamblin2@llnl.gov> | 2021-07-09 02:52:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-09 11:52:23 +0200 |
commit | eff7f20118a3334fede8d8aff506afa98f7ec5de (patch) | |
tree | e5382b597956b4a6d2417b884b2eea5d6873bc80 /.github | |
parent | 3fb5c139836d3602fa07091b62ae94ec4b4feb21 (diff) | |
download | spack-eff7f20118a3334fede8d8aff506afa98f7ec5de.tar.gz spack-eff7f20118a3334fede8d8aff506afa98f7ec5de.tar.bz2 spack-eff7f20118a3334fede8d8aff506afa98f7ec5de.tar.xz spack-eff7f20118a3334fede8d8aff506afa98f7ec5de.zip |
mypy: move configuration to pyproject.toml (#24802)
This moves our `mypy` configuration from `.mypy.ini` to `.pyproject.toml`
and increases the minimum `mypy` version in the tests.
- [x] move `mypy` configuration to `pyproject.toml`
- [x] remove `.mypy.ini`
- [x] ensure that `mypy` version .900 or higher is used in tests
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/unit_tests.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 365716c02a..b454c7d935 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -39,7 +39,7 @@ jobs: python-version: 3.9 - name: Install Python packages run: | - pip install --upgrade pip six setuptools flake8 isort>=4.3.5 mypy>=0.800 black types-six + pip install --upgrade pip six setuptools flake8 isort>=4.3.5 mypy>=0.900 black types-six - name: Setup git configuration run: | # Need this for the git tests to succeed. @@ -370,7 +370,7 @@ jobs: run: | pip install --upgrade pip six setuptools pip install --upgrade codecov coverage - pip install --upgrade flake8 isort>=4.3.5 mypy>=0.800 + pip install --upgrade flake8 isort>=4.3.5 mypy>=0.900 - name: Setup Homebrew packages run: | brew install dash fish gcc gnupg2 kcov |