Skip to content

chore: replace black with ruff as the formatter #936

chore: replace black with ruff as the formatter

chore: replace black with ruff as the formatter #936

name: On Pull Request
# On pull_request, we:
# * always run lint checks
# * always run tests
on:
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install dependencies
run: python3 -m pip install tox
- name: Run linters
run: tox -e lint
tests:
name: Run Tests
needs:
- lint
uses: ./.github/workflows/tests.yaml