Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-04 11:08:21 +0200
committerChristian Clauss <cclauss@me.com>2021-10-04 11:08:21 +0200
commit52dbccea5e42ad81969e4b52a1e8b28891106141 (patch)
tree6d44160cd42af8498e1065a7e4c0166b19a146a3 /.github/workflows
parentc33ab997c9ceff39924ce80018b620ba6b391f6a (diff)
Tighten up flake8 tests used by lint_python GitHub Action
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/lint-python.yaml6
1 files changed, 1 insertions, 5 deletions
diff --git a/.github/workflows/lint-python.yaml b/.github/workflows/lint-python.yaml
index 6e6ab071..d4b92f6e 100644
--- a/.github/workflows/lint-python.yaml
+++ b/.github/workflows/lint-python.yaml
@@ -20,11 +20,7 @@ jobs:
- run: python -m pip install --upgrade pip
- run: pip install flake8
- name: Lint with flake8
- run: |
- # stop the build if there are Python syntax errors
- flake8 . --count --select=E9,F63,F7 --show-source --statistics
- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
+ run: flake8 # See the .flake8 file for runtime parameters
pytest:
runs-on: ubuntu-latest
container: