Skip to content

Merge pull request #1652 from akshitagupta15june/dependabot/pip/facex… #11

Merge pull request #1652 from akshitagupta15june/dependabot/pip/facex…

Merge pull request #1652 from akshitagupta15june/dependabot/pip/facex… #11

Workflow file for this run

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