Skip to content

refactor: core dir

refactor: core dir #8

Workflow file for this run

name: PyLint
on: [ push, pull_request ]
jobs:
PEP8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.12.6
- name: Install Python lint libraries
run: |
pip install autoflake isort black
- name: Remove unused imports and variables
run: |
autoflake --in-place --recursive --remove-all-unused-imports --ignore-init-module-imports .
- name: lint with isort
run: |
isort .
- name: lint with black
run: |
black .
# commit changes
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: auto fixes'
commit_options: '--no-verify'
repository: .
commit_user_name: gabrielmaialva33
commit_user_email: [email protected]
commit_author: Maia <[email protected]>