Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement custom output handling in sort_file #1588

Merged
merged 3 commits into from Nov 1, 2020
Merged

Implement custom output handling in sort_file #1588

merged 3 commits into from Nov 1, 2020

Commits on Oct 30, 2020

  1. Implement custom output handling in sort_file

    This will allow the following to be used:
    
        isort_diff = StringIO()
        isort_output = StringIO()
        isort.file("x.py",
                   show_diff=isort_diff,
                   output=isort_output)
    
    Fixes #1583
    sgaist committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    0ce5bfc View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2020

  1. Update test_ticketed_features.py

    Update test to be OS newline agnostic for diff
    timothycrosley committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    4cc84ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d40ca26 View commit details
    Browse the repository at this point in the history