Skip to content

Consolidate linting rules, switch to Ruff in CI #524

Consolidate linting rules, switch to Ruff in CI

Consolidate linting rules, switch to Ruff in CI #524

Workflow file for this run

name: Lint
on:
push:
branches:
- master
- ci
pull_request:
branches:
- "*"
jobs:
lint:
strategy:
matrix:
# A separate run on Windows is needed
# because typing of stdlib might be different.
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: astral/ruff-action@9828f49eb4cadf267b40eaa330295c412c68c1f9 # 3.2.2
- uses: python/mypy@9397454fb5aead107461b089e7cf190bf538d20a # 1.5.0