Skip to content

Commit 2c81768

Browse files
committed
Updated isort config to use black profile.
1 parent 6d02135 commit 2c81768

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

docs/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
# All configuration values have a default; values that are commented out
1212
# serve to show the default.
1313

14-
import sys, os
14+
import os
15+
import sys
1516

1617
from django_filters import __version__
1718

runshell.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22
import os
33
import sys
4+
45
from django.core.management import execute_from_command_line
56

67

runtests.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env python
22
import os
33
import sys
4+
45
from django.core.management import execute_from_command_line
56

67

setup.cfg

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
license_file = LICENSE
33

44
[isort]
5+
profile = black
56
skip=.tox
6-
atomic=true
7-
multi_line_output=3
87
known_third_party=django,pytz,rest_framework
98
known_first_party=django_filters
109

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
import sys
3-
from setuptools import setup, find_packages
3+
4+
from setuptools import find_packages, setup
45

56
# FIXME: Main module requires django to be present, so cannot run setup.py in
67
# clean environment.

0 commit comments

Comments
 (0)