Skip to content

Revert deletion of file_import #23

Revert deletion of file_import

Revert deletion of file_import #23

Workflow file for this run

name: Formatting (black & isort)
on:
push:
paths:
- '**.py'
defaults:
run:
shell: bash
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install black
run: |
python -m pip install --upgrade pip
pip install black isort
- name: Version
run: |
python --version
black --version
isort --version
- name: Run isort
run: |
isort src
- name: Run black
run: |
black src
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[skip ci] Apply black/isort changes"