Skip to content

Merge pull request #5 from NFFT/python-code-format-patches #30

Merge pull request #5 from NFFT/python-code-format-patches

Merge pull request #5 from NFFT/python-code-format-patches #30

Workflow file for this run

name: Format Python Code
on: push
jobs:
python-code-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: "3.12"
architecture: "x64"
- name: Display Python version
run: python --version
- name: Install packages
run: pip install black isort
- name: Formatter
run: |
black .
isort .
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Auto code format
title: Fixes by format action
body: This is an auto-generated PR with fixes.
labels: automated pr
branch: python-code-format-patches