diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..a93d785 --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,18 @@ +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-20.04 + container: + image: python:2.7.18-buster + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Analysing the code with pylint + run: | + pylint --max-line-length 120 --disable=R $(git ls-files '*.py')