Skip to content

Commit

Permalink
add pylint action
Browse files Browse the repository at this point in the history
  • Loading branch information
Official-Husko committed May 21, 2024
1 parent eeb1fc5 commit 1bbd9d5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Pylint

on:
push:
branches:
- master
- development
- oop-rewrite

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Application Dependencies
run: |
pip install -r requirements.txt
- name: Install dependencies
run: |
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')

0 comments on commit 1bbd9d5

Please sign in to comment.