Skip to content

chore(sonar): 新增 coverage (#44) #33

chore(sonar): 新增 coverage (#44)

chore(sonar): 新增 coverage (#44) #33

Workflow file for this run

name: Code formatter
on: [push]
jobs:
foratter:
name: Code formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "*"
- run: pip install black isort
- name: Format code with black and isort
run: |
isort .
black .
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: ${{ github.actor }}
author_email: ${{ github.actor }}@users.noreply.github.com
message: "style: Format code with black and isort"
add: "."