diff options
| author | Tamas Szabo <szabtam@gmail.com> | 2020-08-23 11:56:26 +0300 |
|---|---|---|
| committer | Tamas Szabo <szabtam@gmail.com> | 2020-08-23 11:56:26 +0300 |
| commit | 62bf6b8b2b99e4f5a56c5485aa992bf292002816 (patch) | |
| tree | e2023e9b061c87176120d339e92fa55cc53a7f98 /scripts | |
| parent | 19221a3e3c4e17e51056d1e70cd565b16f149cea (diff) | |
| download | isort-62bf6b8b2b99e4f5a56c5485aa992bf292002816.tar.gz | |
Small refactoring in output.py.
* remove duplication in handling `from_first`
* `with_from_import` and `with_straight_import` don't need
to know or write to the "global" `section_output`
- remove `section_output` argument
- remove `section_output.copy()`
- functions return their own output without knowing about
the "global" output
* `sort_ignore_case` already passed in to `_with_from_imports` in
`config`. Just use it from there.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
