update tweaks #4462
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: Black format check | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/black_format.yml' | |
- '**.py' | |
jobs: | |
black-format-check: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up Python 3.11 | |
uses: actions/[email protected] | |
with: | |
python-version: 3.11 | |
- name: Install black | |
run: python -m pip install black==24.1.1 | |
- name: Run black | |
run: black --check src |