Repository navigation
chore(deps): bump filelock from 3.32.7 to 4.2.1 #375
This file contains hidden or 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: 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 |