Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
albags committed Jul 16, 2024
2 parents f8ecba7 + 6986c03 commit 7757582
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Pylint

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
pip install -r requirements.txt
- name: Run flake8
run: |
pip install flake8 flake8-bugbear flake8-black
flake8 --max-line-length=120 .
- name: Analyzing the code with pylint
run: |
pylint $(git ls-files '*.py')

0 comments on commit 7757582

Please sign in to comment.