Skip to content

Replace pre-commit in the CI #2566

Replace pre-commit in the CI

Replace pre-commit in the CI #2566

Workflow file for this run

name: code-quality
on:
pull_request:
branches:
- "*"
push:
branches:
- main
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build River
uses: ./.github/actions/install-env
with:
python-version: "3.13"
build-root: false
- name: MyPy type check
run: poetry run mypy
- name: Ruff code linting
run: poetry run ruff check --output-format=github river/
- name: Ruff code formatting
run: poetry run ruff format --check river/