Skip to content

Commit d74114e

Browse files
hramezanibluetech
authored andcommitted
Fix isort configuration
1 parent 3d0aa26 commit d74114e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ docs:
2222

2323
# See setup.cfg for configuration.
2424
isort:
25-
find pytest_django tests -name '*.py' -exec isort {} +
25+
isort pytest_django pytest_django_test tests
2626

2727
clean:
2828
rm -rf bin include/ lib/ man/ pytest_django.egg-info/ build/

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ exclude = lib/,src/,docs/,bin/
7373

7474
[isort]
7575
forced_separate = tests,pytest_django,pytest_django_test
76+
combine_as_imports = true
77+
default_section = THIRDPARTY
78+
include_trailing_comma = true
79+
known_first_party = formtools
80+
line_length = 79
81+
multi_line_output = 5
7682

7783
[mypy]
7884
check_untyped_defs = True

0 commit comments

Comments
 (0)