diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index f5018a7..e846b67 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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 diff --git a/tools/mbf2man.py b/tools/mbf2man.py index a9e14f7..80dff2a 100644 --- a/tools/mbf2man.py +++ b/tools/mbf2man.py @@ -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=' ')