-
-
Notifications
You must be signed in to change notification settings - Fork 597
Comparing changes
Open a pull request
base repository: PyCQA/isort
base: 4.3.20
head repository: PyCQA/isort
compare: 4.3.21
Commits on Feb 16, 2019
-
Make isort run with Python 3 only
As isort is primarily used as a command-line tool, it is in a good position to move to Python 3 only. Other command-line-only tools have begun moving to Python 3. For example: black, mypy, pylint, and Sphinx. It will continue to support formatting Python 2 code, so users can still format their Python 2 projects. Allows for many code cleanups. By removing these workarounds, the project will be easier to maintain and reduce testing resources. Python 2 is scheduled to be EOL on January 1, 2020. The Python community is moving on. https://www.python.org/dev/peps/pep-0373/ For reasons to drop Python 2 support, see: https://python3statement.org/ For an overview of projects that have dropped Python 2 support entirely, see: https://hugovk.github.io/drop-python/2.7/ Fixes #808
Configuration menu - View commit details
-
Copy full SHA for 3c54c0e - Browse repository at this point
Copy the full SHA 3c54c0eView commit details
Commits on Feb 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c06aea7 - Browse repository at this point
Copy the full SHA c06aea7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1059c2a - Browse repository at this point
Copy the full SHA 1059c2aView commit details -
Merge pull request #782 from jdufresne/py3
Make isort run with Python 3 only
Configuration menu - View commit details
-
Copy full SHA for 7845cc5 - Browse repository at this point
Copy the full SHA 7845cc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a98fd0 - Browse repository at this point
Copy the full SHA 7a98fd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd1b690 - Browse repository at this point
Copy the full SHA fd1b690View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76ea9dc - Browse repository at this point
Copy the full SHA 76ea9dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d083dfc - Browse repository at this point
Copy the full SHA d083dfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6c57c1 - Browse repository at this point
Copy the full SHA f6c57c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52c86da - Browse repository at this point
Copy the full SHA 52c86daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31af7aa - Browse repository at this point
Copy the full SHA 31af7aaView commit details -
Merge pull request #832 from mkurnikov/add-mypy
Add typechecking with mypy to Travis
Configuration menu - View commit details
-
Copy full SHA for 5c37d34 - Browse repository at this point
Copy the full SHA 5c37d34View commit details -
Merge pull request #833 from mkurnikov/update-flake8-to-3.7.6
Update flake8 to 3.7.6
Configuration menu - View commit details
-
Copy full SHA for 37d2544 - Browse repository at this point
Copy the full SHA 37d2544View commit details -
Configuration menu - View commit details
-
Copy full SHA for e246c91 - Browse repository at this point
Copy the full SHA e246c91View commit details -
Merge pull request #836 from mkurnikov/add-type-annotations
Add type annotations to source code
Configuration menu - View commit details
-
Copy full SHA for 519efdc - Browse repository at this point
Copy the full SHA 519efdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47a5e29 - Browse repository at this point
Copy the full SHA 47a5e29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 554435b - Browse repository at this point
Copy the full SHA 554435bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b6fe52 - Browse repository at this point
Copy the full SHA 5b6fe52View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 3ffe08f - Browse repository at this point
Copy the full SHA 3ffe08fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 820b732 - Browse repository at this point
Copy the full SHA 820b732View commit details -
Configuration menu - View commit details
-
Copy full SHA for b14d607 - Browse repository at this point
Copy the full SHA b14d607View commit details -
Configuration menu - View commit details
-
Copy full SHA for 108713b - Browse repository at this point
Copy the full SHA 108713bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b23bcda - Browse repository at this point
Copy the full SHA b23bcdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b09c2a - Browse repository at this point
Copy the full SHA 1b09c2aView commit details -
Merge branch 'develop' of https://github.com/timothycrosley/isort int…
…o fix-issue-826
Configuration menu - View commit details
-
Copy full SHA for 7537d07 - Browse repository at this point
Copy the full SHA 7537d07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8876a54 - Browse repository at this point
Copy the full SHA 8876a54View commit details -
Merge pull request #838 from richardlthomas/fix-issue-826
Made the LICENSE file executable for OpenSUSE packaging compatibility
Configuration menu - View commit details
-
Copy full SHA for a700748 - Browse repository at this point
Copy the full SHA a700748View commit details -
Merge pull request #841 from mkurnikov/move-to-enums-for-wrap-modes
Make WrapModes a Enum subclass
Configuration menu - View commit details
-
Copy full SHA for 8b8deaf - Browse repository at this point
Copy the full SHA 8b8deafView commit details -
Configuration menu - View commit details
-
Copy full SHA for da544de - Browse repository at this point
Copy the full SHA da544deView commit details -
Merge pull request #840 from viourr/black_comma_support
Keep trailing comma even for a single from import. Issue 831
Configuration menu - View commit details
-
Copy full SHA for 7b129bd - Browse repository at this point
Copy the full SHA 7b129bdView commit details -
Added NOQA to lines to be skipped - expect behavior is now that all i…
…sort:skip and NOQA imports will be moved to bottom, unsorted
Configuration menu - View commit details
-
Copy full SHA for a4a2239 - Browse repository at this point
Copy the full SHA a4a2239View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d0f149 - Browse repository at this point
Copy the full SHA 2d0f149View commit details -
Merge pull request #843 from richardlthomas/fix-issue-826
Added NOQA to lines to be skipped
Configuration menu - View commit details
-
Copy full SHA for dfb347b - Browse repository at this point
Copy the full SHA dfb347bView commit details
Commits on Feb 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a7dd526 - Browse repository at this point
Copy the full SHA a7dd526View commit details -
Merge pull request #845 from richardlthomas/fix-issue-828
Changed distribution function to upload via Twine per issue #828
Configuration menu - View commit details
-
Copy full SHA for 45dc590 - Browse repository at this point
Copy the full SHA 45dc590View commit details -
Configuration menu - View commit details
-
Copy full SHA for da50aed - Browse repository at this point
Copy the full SHA da50aedView commit details -
Merge pull request #846 from nicolelodeon/patch-1
Update ACKNOWLEDGEMENTS.md
Configuration menu - View commit details
-
Copy full SHA for f0badf1 - Browse repository at this point
Copy the full SHA f0badf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ba36cb - Browse repository at this point
Copy the full SHA 1ba36cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3825fab - Browse repository at this point
Copy the full SHA 3825fabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9338202 - Browse repository at this point
Copy the full SHA 9338202View commit details -
Configuration menu - View commit details
-
Copy full SHA for 115c1a8 - Browse repository at this point
Copy the full SHA 115c1a8View commit details
Commits on Feb 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6099642 - Browse repository at this point
Copy the full SHA 6099642View commit details
Commits on Feb 28, 2019
-
Add LRU cache to RequirementsFinder._get_names
This caches the result of the function for future invocations with the same input, which can massively speed up future invocations if they have the same input as previous calls. In the case of this function this happens a lot, and each invocation is quite expensive as the requirements file is parsed every time. This gives a quite significant performance boost. I've tried running `isort` with and without this patch on two different applications on Python 3.7.2 and one one application the run time drops from 12.67 seconds to 1.3 seconds and on the other it drops from 28.29 seconds to 2.1 seconds. This optimisation is similiar to the one which was done for the 4.3.x branch here: #856.
Configuration menu - View commit details
-
Copy full SHA for 6e8389b - Browse repository at this point
Copy the full SHA 6e8389bView commit details -
Switch RequiementsFinder._get_names back return an iterator
This is in order to satisfy mypy as the return type should be the same as the super class.
Configuration menu - View commit details
-
Copy full SHA for 1e761b4 - Browse repository at this point
Copy the full SHA 1e761b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7efb0a8 - Browse repository at this point
Copy the full SHA 7efb0a8View commit details -
allow named multi_line_import arguments
Dan W Anderson committedFeb 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 252ecbf - Browse repository at this point
Copy the full SHA 252ecbfView commit details -
Dan W Anderson committed
Feb 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 67dd219 - Browse repository at this point
Copy the full SHA 67dd219View commit details -
Dan W Anderson committed
Feb 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 086f792 - Browse repository at this point
Copy the full SHA 086f792View commit details
Commits on Mar 1, 2019
-
Fix test_inconsistent_behavior_in_python_2_and_3_issue_479
This also failed for me with "future" being installed. Not sure if it makes sense to keep it in the first place, since isort appears to require py34 now. Ref: #479 (comment)
Configuration menu - View commit details
-
Copy full SHA for c95d180 - Browse repository at this point
Copy the full SHA c95d180View commit details -
Fix no_lines_before with empty section
This fixes "no_lines_before" to also be respected from previous empty sections.
Configuration menu - View commit details
-
Copy full SHA for 93a0458 - Browse repository at this point
Copy the full SHA 93a0458View commit details
There are no files selected for viewing