Skip to content

Update __init__.py

Update __init__.py #10

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: Commit changes
run: |
git config --global user.email "github-actions@github.com"
git config --global user.name "GitHub Actions"
git add .
git diff-index --quiet HEAD || git commit -m "Auto-format code with Black"
git push
- name: Check git status after commit
run: git status