diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index c73e032..f6794e4 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -3,11 +3,11 @@ name: Pylint on: [push] jobs: - build: + precommit-checks: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.9"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -18,6 +18,8 @@ jobs: run: | python -m pip install --upgrade pip pip install pylint + pip install pre-commit - name: Analysing the code with pylint run: | - pylint $(git ls-files '*.py') + pre-commit run --all-files + # pylint $(git ls-files '*.py')