Skip to content

Merge pull request #716 from florean/711-remove-x #3278

Merge pull request #716 from florean/711-remove-x

Merge pull request #716 from florean/711-remove-x #3278

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
version: "0.7.x"
- uses: pre-commit/[email protected]
- name: Install Python dependencies
run: |
uv sync --frozen
source .venv/bin/activate
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
- name: mypy Static Type Checker
run: |
mypy \
--follow-imports=skip \
--exclude 'migrations/*' \
.