From 5c9331d7475846cdc4a4eaa19fbddc6dcecd1ed6 Mon Sep 17 00:00:00 2001 From: Madhukar-SH Date: Tue, 14 Mar 2017 23:04:41 +0530 Subject: [PATCH] PyImportSortBear.py: passing known_third_party to isort_settings known_third_party_imports was being passed to the run fucntion but it was not being passed to the wrapper function isort_settings. This update fixes the issue. Fixes https://github.com/coala/coala-bears/issues/1510 --- bears/python/PyImportSortBear.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bears/python/PyImportSortBear.py b/bears/python/PyImportSortBear.py index b82c264a5d..42f4f43559 100644 --- a/bears/python/PyImportSortBear.py +++ b/bears/python/PyImportSortBear.py @@ -169,6 +169,7 @@ def run(self, filename, file, forced_separate=forced_separate_imports, multi_line_output=isort_multi_line_output, known_first_party=known_first_party_imports, + known_third_party=known_third_party_imports, line_length=max_line_length, force_to_top=imports_forced_to_top)