summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2015-02-06 10:43:46 -0500
committerTimothy Edmund Crosley <timothy.crosley@gmail.com>2015-02-06 10:43:46 -0500
commit69f3d8eef53ac3f268413ae63fa51c416de6940e (patch)
tree62d87c646fd81d75fe52d83a28312fe60096f3d7
parent8daf74a4a9e066ea4f58db61805824884160ce5b (diff)
parent20da3fe0e0ae0ff1e009c3c4d878d0b41494ba74 (diff)
downloadisort-69f3d8eef53ac3f268413ae63fa51c416de6940e.tar.gz
Merge pull request #248 from reinout/patch-2
Accept [isort] section in ~/.isort.cfg
-rw-r--r--isort/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/settings.py b/isort/settings.py
index 0b14bec6..d4e6172d 100644
--- a/isort/settings.py
+++ b/isort/settings.py
@@ -96,7 +96,7 @@ default = {'force_to_top': [],
def from_path(path):
computed_settings = default.copy()
_update_settings_with_config(path, '.editorconfig', '~/.editorconfig', ('*', '*.py', '**.py'), computed_settings)
- _update_settings_with_config(path, '.isort.cfg', '~/.isort.cfg', ('settings', ), computed_settings)
+ _update_settings_with_config(path, '.isort.cfg', '~/.isort.cfg', ('settings', 'isort'), computed_settings)
_update_settings_with_config(path, 'setup.cfg', None, ('isort', ), computed_settings)
return computed_settings