Skip to content

[CI]: Compare vs. last commit in black CI action #826

[CI]: Compare vs. last commit in black CI action

[CI]: Compare vs. last commit in black CI action #826

Workflow file for this run

name: black
on: pull_request
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]
with:
extra_args: black --from-ref HEAD^1 --to-ref HEAD