Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-11-05 15:48:03 +0000
committerGitHub <noreply@github.com>2021-11-05 15:48:03 +0000
commit0071a069080732047e11309134869f3ab40c642c (patch)
tree9ae4cde24f02046ccdc93a988c09273619cd545c /.github
parent3993917462219de75cd00aefdd4fe318402a22af (diff)
parentb6ab6786316c5e4d8101007c4e96e64585aa7234 (diff)
Merged PR #650 - flake8 fixes and tightening
Tighten up flake8 tests used by GitHub Action lint_python
Diffstat (limited to '.github')
-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: