Skip to content

Merge pull request #14 from liwuhen/feat-dev #11

Merge pull request #14 from liwuhen/feat-dev

Merge pull request #14 from liwuhen/feat-dev #11

Workflow file for this run

name: Format
on:
pull_request:
branches: ["main"]
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
pre-commit:
name: Format
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:
# Slow hooks are marked with manual - slow is okay here, run them too
extra_args: --hook-stage manual --all-file