Skip to content

chore(deps): bump filelock from 3.32.7 to 4.2.1 #375

chore(deps): bump filelock from 3.32.7 to 4.2.1

chore(deps): bump filelock from 3.32.7 to 4.2.1 #375

Workflow file for this run

name: Code style check
on: [ push, pull_request ]
jobs:
style:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.11 ]
steps:
- uses: actions/checkout@v7
- name: Set up uv with Python ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v10.1.0
with:
python-version: ${{ matrix.python-version }}
# Why these flags: see "Development setup" in docs/developer.rst.
- name: Install dependencies with uv
run: uv sync --frozen --all-groups
# The pre-commit math-snippet hook (check-math-snippets) runs the
# MathJax Node oracle (utils/check_math_snippets_node.cjs); Node is
# preinstalled on the runner.
- name: Install MathJax with npm
run: npm ci
- name: Run pre-commit
run: |
uv run pre-commit run --all-files --color always --verbose --show-diff-on-failure
# The pre-commit pass already runs ruff and ty as hooks; these steps
# make the type checks explicit — Pyright is the stricter checker and
# only runs here.
- name: Type check with ty
run: uv run ty check
- name: Type check with Pyright
run: uv run pyright