feat: add type annotations #13
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: pre-commit check | |
on: | |
push: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
- uses: astral-sh/setup-uv@v4 | |
- name: pre-commit | |
run: uvx pre-commit run --all | |
env: | |
RUFF_OUTPUT_FORMAT: github | |
- name: show diff | |
run: git diff | |
if: always() |