Skip to content

Commit

Permalink
Added github action for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
ma4nn authored Oct 6, 2021
1 parent 747b049 commit 9bf28f5
Showing 1 changed file with 23 additions and 0 deletions.
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,workflow_dispatch]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
- name: Analysing the code with pylint
run: |
pylint $(find . -name "*.py" | xargs)

0 comments on commit 9bf28f5

Please sign in to comment.