Skip to content

update pre-commits

update pre-commits #65

Workflow file for this run

name: Run static analysis
env:
# enable colored output
# https://github.com/pytest-dev/pytest/issues/7443
PY_COLORS: 1
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
static_analysis:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
python-version: "3.11"
enable-cache: true
cache-dependency-glob: |
**/requirements*.txt
**/pyproject.toml
**/uv.lock
Makefile
- name: Install dependencies and setup pre-commit
run: make install
- name: Run linting and type checking
run: make lint typecheck