Skip to content

Commit f02ce6a

Browse files
authored
Configure isort to follow black formatting conventions (#249)
## Ticket n/a ## Changes - Configure isort to follow black formatting conventions ## Context for reviewers - Without this change there are situations where isort's formatting conflicts with blacks, leading `make format-check` to fail even after `make-format` ## Testing You can see an example file that will fail without this change at this PR: navapbc/labs-referral-pilot#11
1 parent d61885f commit f02ce6a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

template/{{app_name}}/pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ db-migrate-down-all = "src.db.migrations.run:downall"
5454
line-length = 100
5555

5656
[tool.isort]
57-
multi_line_output = 3
58-
include_trailing_comma = true
59-
force_grid_wrap = 0
60-
use_parentheses = true
61-
line_length = 100
57+
profile = "black"
6258

6359
[tool.ruff]
6460
line-length = 100

0 commit comments

Comments
 (0)