summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2020-04-22 11:05:45 +0200
committerRémi Flamary <remi.flamary@gmail.com>2020-04-22 11:05:45 +0200
commit2a8c86cdad1948ad3c907ad8de2ec14d0d689a2e (patch)
tree7fba07ac9b8efce98e01552d9e2efde2de47725c /.github
parent6654741efcd4a211278a9253bf22920186ecf777 (diff)
add flake8 fail to github actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pythonpackage.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml
index af6efb7..394f453 100644
--- a/.github/workflows/pythonpackage.yml
+++ b/.github/workflows/pythonpackage.yml
@@ -36,7 +36,7 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --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
+ flake8 examples/ ot/ test/ --count --max-line-length=127 --statistics
- name: Install POT
run: |
pip install -e .