From b156a495a96cfe896248fde2fb68fd5913c2caec Mon Sep 17 00:00:00 2001 From: infibrocco <59830101+infibrocco@users.noreply.github.com> Date: Thu, 4 Jan 2024 14:40:23 +0600 Subject: [PATCH] Update python-package.yml --- .github/workflows/python-package.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 219cd62..490e10e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -27,14 +27,12 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install flake8 pytest + python -m pip install pylint pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Lint with flake8 run: | - # 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 + pylint ./*/*.py --max-line-length 127 --max-branches 20 --exit-zero - name: Test with pytest run: | pytest