Skip to content

Introduce code format check workflow #1

Introduce code format check workflow

Introduce code format check workflow #1

Workflow file for this run

name: Check code formatting with autopep8
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
jobs:
python-code-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
architecture: "x64"
- name: Display Python Version
run: python --version
- name: Install packages
run: pip install autopep8
- name: Formatter
run: |
autopep8 --exit-code --recursive --in-place --aggressive --aggressive .