recompose #3247
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/checkout@v3.5.2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4.6.0 | |
with: | |
python-version: 3.11 | |
- name: Install black | |
run: python -m pip install black==24.1.1 | |
- name: Run black | |
run: black --check src |