Skip to content

feat: ✨ Fix analyze code workflow #46

feat: ✨ Fix analyze code workflow

feat: ✨ Fix analyze code workflow #46

Workflow file for this run

name: 'code-style'
on:
pull_request:
branches:
- main
jobs:
code_style:
runs-on: ubuntu-latest
steps:
- name: 'Checkout sources'
uses: actions/checkout@v4
- name: 'Lint code with Ruff'
run: |
pipx install ruff
ruff check --fix .
- name: 'Type cheking with MyPy'
run: |
pipx install mypy
mypy --ignore-missing-imports codelimit/
- name: 'Format code with black'
run: |
pipx install black
black .
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Code style fixes'