Skip to content

Commit

Permalink
ci: 1.0.5 Update pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEtherPunk authored Nov 18, 2024
1 parent 3081a7c commit 41a6672
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: Pylint

on: [push]
on: [push, pull_request]

jobs:
build:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get update
sudo apt-get install -y cowsay lolcat
pip install pylint
- name: Analysing the code with pylint
pip install -e .
- name: Lint with pylint
run: |
pylint $(git ls-files '*.py')
pylint --disable=C0111,C0301,C0103,R0903,R0913 src/

0 comments on commit 41a6672

Please sign in to comment.