Skip to content

Add linting and tests on PRs #6

Add linting and tests on PRs

Add linting and tests on PRs #6

Workflow file for this run

name: Python Linting
on: [pull_request]
jobs:
lint-python-files:
runs-on: ubuntu-latest
steps:
# Setup
- name: Check out repository code
uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"
# Install
- name: Install
run: uv sync
# Check code
- name: Ruff format
run: uv run ruff format --check
- name: Ruff check
run: uv run ruff check