Skip to content

Merge remote-tracking branch 'origin/develop' into develop #143

Merge remote-tracking branch 'origin/develop' into develop

Merge remote-tracking branch 'origin/develop' into develop #143

Workflow file for this run

name: Format code
on:
push:
branches: [ develop ]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# - name: Format code with black
# run: |
# pip install black
# black --line-length 110 .
- name: Sort imports with isort
run: |
pip install isort
isort .
- name: Remove unused imports with autoflake
run: |
pip install autoflake
autoflake --in-place --remove-all-unused-imports --remove-unused-variables --recursive .
- name: Commit changes
uses: EndBug/add-and-commit@v4
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: "Auto Format"
add: "."
branch: ${{ github.ref }}