[Snyk] Security upgrade certifi from 2023.7.22 to 2024.7.4 #249
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: formatter | |
on: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
jobs: | |
format-code: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11.4 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install black | |
pip install "black[jupyter]" | |
- name: Run Black to format code | |
run: black . --check --diff |