From 0acb25674081568de602a6056e743a13034522eb Mon Sep 17 00:00:00 2001 From: Noortheen Raja Date: Sun, 20 Mar 2022 11:31:46 +0530 Subject: [PATCH] fix: mypy errors in ci chore: upgrade mypy --- .github/workflows/test.yml | 4 +++- requirements/tests.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d33b82fe..457332e44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,7 +46,9 @@ jobs: timeout-minutes: 15 - name: Run QA Checks if: ${{ startsWith(matrix.os, 'ubuntu') && startsWith(matrix.python-version, '3.10') }} - run: python -m xonsh run-tests.xsh qa + run: | + python -m pip install -e . --no-deps + python -m xonsh run-tests.xsh qa - name: Run tests if: ${{ !startsWith(matrix.python-version, '3.10') }} run: | diff --git a/requirements/tests.txt b/requirements/tests.txt index fea8a4d25..241e68f67 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -18,7 +18,7 @@ pre-commit pyte>=0.8.0 # types related -mypy==0.940 +mypy==0.941 types-ujson # ensure tests run with the amalgamated (==production) xonsh