Skip to content

Update docker/setup-buildx-action action to v2.10.0 #6

Update docker/setup-buildx-action action to v2.10.0

Update docker/setup-buildx-action action to v2.10.0 #6

Workflow file for this run

name: Code Formatter
on: [push, workflow_dispatch]
jobs:
PEP8:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install Python Lint Libraries
run: |
pip install autopep8 autoflake isort black
- name: Check for ShowStoppers
run: >
autopep8 --verbose --in-place --recursive --aggressive
--ignore=W605 web/scripts/
- name: Remove Unused Imports and Variables
run: >
autoflake --in-place --recursive --remove-all-unused-imports
--remove-unused-variables --ignore-init-module-imports .
- name: Lint with Isort and Black
run: |
isort web/scripts/ web/__init__.py web/__main__.py
black web/helpers/ web/scripts/
- name: Push Changes to Branch
uses: stefanzweifel/[email protected]
with:
commit_message: "Auto: Code Formatted"
commit_options: "--no-verify"
repository: .
commit_user_name: Ms Emily
commit_user_email: [email protected]
commit_author: MsEmily <[email protected]>