Skip to content

refactor: stricter linting rules #740

refactor: stricter linting rules

refactor: stricter linting rules #740

Workflow file for this run

name: Format Pull Request
on:
pull_request:
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Install dependencies
run: make install-dev
- name: Format with ruff
run: .venv/bin/python -m ruff format --check
- name: Format with rustfmt
run: cargo fmt -- --check