Skip to content

Commit

Permalink
misc(ci): Enable errors-only pylint, accept lint errors (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kissaki authored Mar 15, 2024
2 parents 355d8cb + 0211884 commit 26f9c68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ jobs:
python -m pip install --upgrade pip
pip install flake8 pylint pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Analysing the code with pylint
if: false
run: |
pylint $(git ls-files '*.py')
- name: Lint with pylint
run: pylint --errors-only $(git ls-files '*.py')
continue-on-error: true
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
2 changes: 1 addition & 1 deletion tools/mbf2man.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def lslice(slf):
print("Done")

print("Import dynamically compiled murmur class...", end=' ')
import Murmur
import Murmur # pylint: disable=E0401 # pyright: ignore

print("Done")
print("Establish ice connection...", end=' ')
Expand Down

0 comments on commit 26f9c68

Please sign in to comment.