Skip to content

Merge pull request #35 from cdsl-research/dependabot/pip/dashboard/py… #52

Merge pull request #35 from cdsl-research/dependabot/pip/dashboard/py…

Merge pull request #35 from cdsl-research/dependabot/pip/dashboard/py… #52

Workflow file for this run

name: Format python code
on: push
jobs:
python-code-format:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: "3.10"
architecture: "x64"
- name: Display Python version
run: python --version
- name: Install packages
run: pip install black autopep8 isort
- name: Formatter
run: |
black .
autopep8 --recursive --in-place --aggressive --aggressive .
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
reviewers: peter-evans
branch: python-code-format-patches