Add format-incremental script #804
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: Python formatting | |
on: [push, pull_request] | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
lint: | |
name: Run black | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up problem matcher for Black output | |
run: echo '::add-matcher::.github/problem-matchers/black.json' | |
- uses: psf/black@8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b # stable | |
with: | |
src: "./unitary" |