Skip to content

Update __init__.py

Update __init__.py #5

Workflow file for this run

name: Formatting
on:
push:
branches: [ "main" ]
paths-ignore:
- '**.md'
- '.github/**'
- 'migrations/*'
pull_request:
branches: [ "main" ]
paths-ignore:
- '**.md'
- '.github/**'
- 'migrations/*'
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install black
run: pip install black
- name: Run black
run: black .
- name: Apply changes
run: |
git add .
git diff --quiet && git diff --staged --quiet || git commit -m "Apply Black formatting"