Skip to content

Bump ruff from 0.3.5 to 0.3.7 #66

Bump ruff from 0.3.5 to 0.3.7

Bump ruff from 0.3.5 to 0.3.7 #66

Workflow file for this run

name: Ruff
on:
push:
paths:
- "**.py"
- .github/workflows/lint-python.yml
- pyproject.toml
pull_request:
paths:
- "**.py"
- .github/workflows/lint-python.yml
- pyproject.toml
workflow_dispatch: null
jobs:
ruff:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.12"
- "3.11"
- "3.10"
- "3.9"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
pip3 install -U pip
pip3 install .[dev]
pip3 install .[github-actions]
- name: Linting the code with ruff
run: |
ruff check $(git ls-files '*.py') --diff | ydiff -s