Skip to content

Commit 4c24fde

Browse files
committed
fix: Update configuration for isort and black to enforce line length and multi-line output
This commit addresses an issue where the pre-commit hook merges import formatted with isort's multiline output mode 3 back into a single line, resulting in a flake8 E508 violation in CI due to lines exceeding 79 characters
1 parent 34e36cd commit 4c24fde

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ match-dir = [^migrations]
1818

1919
[isort]
2020
profile=black
21+
line_length=79
22+
multi_line_output=3
23+
24+
[black]
25+
line-length = 79

0 commit comments

Comments
 (0)