Run isort with black profile to avoid conflicts between the two

This commit is contained in:
Debanjum Singh Solanky 2023-11-21 12:48:12 -08:00
parent 244b76ffed
commit 19e042037a
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,7 @@ repos:
hooks:
- id: isort
name: isort (python)
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0

View file

@ -128,6 +128,9 @@ warn_unused_ignores = false
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = [