Skip to content

Commit

Permalink
pyproject: Update isort with black profile
Browse files Browse the repository at this point in the history
This prevent conflict with isort and black

Signed-off-by: Arisu Tachibana <[email protected]>
  • Loading branch information
aliceinwire committed Dec 12, 2024
1 parent 50a1770 commit 2711fc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
- name: Lint check with python black
run: poetry run black --check --verbose .
- name: Isort check
run: poetry run isort . --check --diff
run: poetry run isort . --profile black --check --diff
- name: Pytest check
run: poetry run pytest -rP
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ poethepoet = "^0.29.0"
[tool.poe.tasks]
check = "./scripts/check.sh"

[tool.isort]
profile = "black"

[tool.pytest.ini_options]
pythonpath = [
"src"
Expand Down

0 comments on commit 2711fc4

Please sign in to comment.