Skip to content

Commit

Permalink
Ensure isort uses black to avoid double corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
omeryusufyagci committed Oct 7, 2024
1 parent e3d9721 commit 8add330
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pep8-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
run: |
pip install black isort
- name: Run black Check
- name: Run isort Check
run: |
black app.py --check --line-length 120
isort app.py --check-only --profile black
- name: Run isort Check
- name: Run black Check
run: |
isort app.py --check-only
black app.py --check --line-length 120
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tool.isort]
profile = "black"

0 comments on commit 8add330

Please sign in to comment.