Skip to content

Typed rule example

Typed rule example #69

Workflow file for this run

on:
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Set up Python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f #v5.1.1
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: ruff
run: poetry run ruff check --output-format=github .
- name: ruff
run: poetry run ruff format --check .
- name: mypy
run: poetry run mypy .