🔨 work around mypy's editable/isolated project issues #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
env: | |
UV_FROZEN: 1 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: typos | |
uses: crate-ci/typos@master | |
- uses: astral-sh/setup-uv@v5 | |
with: | |
enable-cache: true | |
python-version: "3.13" | |
version: latest | |
- name: ruff | |
run: | | |
uv run ruff check --output-format=github | |
uv run ruff format --check | |
# TODO: static acceptance tests | |
- name: test static (reject) | |
run: | | |
uv run mypy --hide-error-context --hide-error-code-links --no-pretty test/static/reject | |
uv run basedpyright test/static/reject |