Skip to content

github: add mypy workflow #4

github: add mypy workflow

github: add mypy workflow #4

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: pre-commit/[email protected]
with:

Check failure on line 17 in .github/workflows/pre-commit.yml

View workflow run for this annotation

GitHub Actions / pre-commit

Invalid workflow file

The workflow is not valid. .github/workflows/pre-commit.yml (Line: 17, Col: 14): Unexpected value '' .github/workflows/pre-commit.yml (Line: 18, Col: 9): Unexpected value 'extra_args'
extra_args: --from-ref origin/HEAD --to-ref HEAD