Skip to content
23 changes: 23 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pylint

on: [push, pull_request]
Comment thread
joseph784 marked this conversation as resolved.
Outdated

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
Comment thread
joseph784 marked this conversation as resolved.
- name: Analysing the code with pylint
run: |
pylint `ls -R|grep .py$|xargs`
Comment thread
joseph784 marked this conversation as resolved.
Outdated