Skip to content

Improve GitHub workflows to use Ruff #145

Improve GitHub workflows to use Ruff

Improve GitHub workflows to use Ruff #145

Workflow file for this run

name: Lint with ruff
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python my_script.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r .[dev]
- name: Lint with ruff
run: ruff check
- name: Format with ruff
run: ruff format --check