diff options
author | Timothy Edmund Crosley <timothy.crosley@gmail.com> | 2015-02-06 10:43:46 -0500 |
---|---|---|
committer | Timothy Edmund Crosley <timothy.crosley@gmail.com> | 2015-02-06 10:43:46 -0500 |
commit | 69f3d8eef53ac3f268413ae63fa51c416de6940e (patch) | |
tree | 62d87c646fd81d75fe52d83a28312fe60096f3d7 | |
parent | 8daf74a4a9e066ea4f58db61805824884160ce5b (diff) | |
parent | 20da3fe0e0ae0ff1e009c3c4d878d0b41494ba74 (diff) | |
download | isort-69f3d8eef53ac3f268413ae63fa51c416de6940e.tar.gz |
Merge pull request #248 from reinout/patch-2
Accept [isort] section in ~/.isort.cfg
-rw-r--r-- | isort/settings.py | 2 |
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 |