Skip to content

sync upstream to midstream #17

sync upstream to midstream

sync upstream to midstream #17

Workflow file for this run

name: Lint
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
ruff:
name: Ruff Lint & Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install tools
run: pip install ruff mypy
- name: Ruff check
run: ruff check src/ tests/
- name: Ruff format check
run: ruff format --check src/ tests/
- name: Mypy type check
run: mypy src/