Skip to content

Commit 5c9331d

Browse files
committed
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 #1510
1 parent f04f8bc commit 5c9331d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bears/python/PyImportSortBear.py

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def run(self, filename, file,
169169
forced_separate=forced_separate_imports,
170170
multi_line_output=isort_multi_line_output,
171171
known_first_party=known_first_party_imports,
172+
known_third_party=known_third_party_imports,
172173
line_length=max_line_length,
173174
force_to_top=imports_forced_to_top)
174175

0 commit comments

Comments
 (0)