summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook@pioneer.com>2021-09-08 17:02:17 -0500
committerJordan Cook <jordan.cook@pioneer.com>2021-09-08 17:25:34 -0500
commitd1cedec14974f76724aeaf85779fc7c8911812e3 (patch)
tree2c9ae989dd61c0af36fc6173f3c7830c3de0c04c /.github
parentef6d9013e34712973af73e58a97ef9eb60a904bd (diff)
downloadrequests-cache-d1cedec14974f76724aeaf85779fc7c8911812e3.tar.gz
Re-enable mypy pre-commit hook with attrs as an explicit hook dependency for correct mypy-attrs behavior
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml21
1 files changed, 0 insertions, 21 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b9e8dbf..1d7ca42 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -89,24 +89,3 @@ jobs:
python-version: ${{ env.LATEST_PY_VERSION }}
- name: Run style checks & linting
uses: pre-commit/action@v2.0.3
-
- # TODO: This section could be removed if the issues with the mypy pre-commit hook were resolved
- - uses: snok/install-poetry@v1.2
- with:
- version: 1.2.0a2
- virtualenvs-in-project: true
- - name: Cache python packages
- id: cache
- uses: actions/cache@v2
- with:
- path: .venv
- key: venv-${{ matrix.python-version }}-latest-${{ hashFiles('poetry.lock') }}
- - name: Install dependencies
- if: steps.cache.outputs.cache-hit != 'true'
- run: poetry install -v -E all
- - name: Run type checking
- run: >
- poetry run mypy
- --install-types --non-interactive
- --ignore-missing-imports
- requests_cache