feat: β¨ Extend report command with --totals
and --format
options
#47
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |