Skip to content

Commit c69f1eb

Browse files
committed
fix: Configure isort and black
Since black has strict formatting including imports, let isort use profile with black. And adjust black line length as 120 for linting.
1 parent a5c3115 commit c69f1eb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,9 @@ awspub = "awspub.cli:main"
6161
[tool.poetry-dynamic-versioning]
6262
enable = true
6363
vcs = 'git'
64+
65+
[tool.isort]
66+
profile = "black"
67+
68+
[tool.black]
69+
line-length = 120

0 commit comments

Comments
 (0)