Skip to content

Commit

Permalink
[update] pylint fix (hopefully) v2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBruh141 committed Dec 15, 2024
1 parent db6e6c5 commit 97f7c61
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
name: Pylint

on: [ push ]

on: [ push, pull_request ]
jobs:
build:
pylint-check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.12" ]
python-version: [ "3.12" ] # You can add more Python versions if needed
steps:
- uses: actions/checkout@v4
# Checkout the code
- name: Checkout code
uses: actions/checkout@v4

# Set up Python environment
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
# Install dependencies and Pylint
- name: Install dependencies and Pylint
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements.txt pylint
- name: Analysing the code with pylint
# Run Pylint on the codebase
- name: Run Pylint
run: |
pylint $(git ls-files '*.py')

0 comments on commit 97f7c61

Please sign in to comment.