Skip to content

Commit

Permalink
Lint with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
jteijema committed Apr 8, 2024
1 parent 6c3cc4e commit f2cb633
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@ jobs:
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
python-version: '3.x'
architecture: 'x64'
- name: Install ruff
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
pip install ruff
- name: Lint python with ruff
run: |
pylint $(git ls-files '*.py')
ruff check .

0 comments on commit f2cb633

Please sign in to comment.