Skip to content

Commit

Permalink
Updated isort config to use black profile.
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson committed Jun 17, 2022
1 parent 6d02135 commit 2c81768
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys, os
import os
import sys

from django_filters import __version__

Expand Down
1 change: 1 addition & 0 deletions runshell.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python
import os
import sys

from django.core.management import execute_from_command_line


Expand Down
1 change: 1 addition & 0 deletions runtests.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python
import os
import sys

from django.core.management import execute_from_command_line


Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
license_file = LICENSE

[isort]
profile = black
skip=.tox
atomic=true
multi_line_output=3
known_third_party=django,pytz,rest_framework
known_first_party=django_filters

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import sys
from setuptools import setup, find_packages

from setuptools import find_packages, setup

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

0 comments on commit 2c81768

Please sign in to comment.