[Snyk] Security upgrade black from 21.5b1 to 24.3.0 #1028
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: "Format code with Black" | |
on: | |
- "push" | |
- "pull_request" | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: python -m pip install -r requirements.txt | |
- name: Check Formatting | |
run: python -m black . --check |