summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r--.github/workflows/lint.yml8
1 files changed, 1 insertions, 7 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 241be8ab..328df22f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -33,15 +33,9 @@ jobs:
uses: actions/setup-python@v2 # https://github.com/actions/setup-python
with:
python-version: ${{ matrix.python-version }}
- - name: Cache dependencies
- id: cache-deps
- uses: actions/cache@v2 # https://github.com/actions/cache
- with:
- path: ~/.cache/pip
- key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
- name: Install python prerequisites
# Only install dependencies when there is a cache miss
if: steps.cache-deps.outputs.cache-hit != 'true'
- run: pip install -U --user pip setuptools setuptools-scm flake8 nox
+ run: pip install -U --user pip setuptools setuptools-scm flake8
- name: Lint
run: python -m flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ;