Skip to content

Commit

Permalink
Update pythonpackage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius authored Nov 4, 2023
1 parent 1ad4beb commit 4057d84
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,5 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Lint with flake8
run: |
pip install flake8
# 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
- name: Lint with pylint
run: |
pip install pylint
# stop the build if there are Pylint errors
# there is a bug with E1136 (https://github.com/PyCQA/pylint/issues/1498)
# so we temporarily disable it.
pylint --disable=I,C,R,W0511,W0231,E1136,W1202 --extension-pkg-whitelist=numpy heatzypy
- name: Run pre-commit
uses: pre-commit/action@v2.0.3

0 comments on commit 4057d84

Please sign in to comment.