تحسين عملية جمع التفريغات أثناء التفريغ باستخدام wit #22
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: Formatter | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
name: Run Formatter | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: black formatter | |
uses: rickstaa/action-black@v1 | |
with: | |
black_args: ". --check --diff --skip-string-normalization --line-length 120" | |
- name: isort formatter | |
uses: isort/isort-action@v1 | |
with: | |
configuration: "--profile black --src tafrigh --line-length 120 --lines-between-types 1 --lines-after-imports 2 --case-sensitive --trailing-comma --check-only --diff" |