| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- add coverage factor to tox
- report coverage to codecov.io
- configure testpaths for pytest, instead of passing it through tox
command
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Drops use of 'dist: trusty'.
|
|
|
|
| |
As a supported platform, it should be tested.
|
|
|
|
|
|
|
|
| |
Allows using recent Python versions without sudo declarations.
Travis officially added support for Xenial on 2018-11-08.
https://blog.travis-ci.com/2018-11-08-xenial-release
|
|\
| |
| | |
Remove unnecessary tox -e argument
|
| |
| |
| |
| |
| |
| |
| | |
tox already reads the TOXENV environment variable. No need to re-specify
as a command line argument. For details, see:
https://tox.readthedocs.io/en/latest/config.html#confval-envlist=CSV
|
|/
|
|
|
|
| |
Python 3.7 was released on June 27, 2018.
https://docs.python.org/3/whatsnew/3.7.html
|
| |
|
|\
| |
| | |
Add pip cache to Travis CI builds
|
| |
| |
| |
| | |
https://docs.travis-ci.com/user/caching/#pip-cache
|
|/
|
|
| |
This reverts commit 5bb3309ff3652d7cd1144e9c081acbe16a8a345e.
|
| |
|
|
|
|
|
| |
This reverts commit 363b67a6a7f6a26b22cac663270d983d3b4529f5, reversing
changes made to df3a4a068b086c3b2aaf8f464b6d5256ead92aaf.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I would humbly like to suggest isort drops support for Python 2.6.
The last release of Python 2.6 was 2013-10-29, over 3 years ago. It is
no longer receiving security fixes.
https://www.python.org/dev/peps/pep-0361/
The pip project itself has recently dropped support for 2.6. Their
numbers estimate that Python 2.6 accounts for ~2% of their downloads.
See:
https://github.com/pypa/pip/pull/4343
For projects that still use Python 2.6, they can continue to pip install
an older version of isort.
I've tried my best to remove as much 2.6 specific code as I can,
including the 'Programming Language :: Python :: 2.6' trove classifier
from setup.py. I've also removed Travis CI testing, which should result
in faster testing and fewer wasted resources.
Code changed:
- Removed Python2.6 from documentation
- Removed Python2.6 from testing configuration
- Use set literals
- Use dict comprehension
- Pass generator expressions to builtin functions instead of lists
- Use builtin OrderedDict
- Removed deprecated U open mode; replace with io.open() which support
universal newlines
- Removed Python2.6 workarounds throughout the code
Thanks for considering.
|
|
|
|
| |
Fixes #502
|
| |
|
|\
| |
| | |
run on the new travis infrastructure
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
These changes enable any user that installs `isort` to check his source
code from setup.py with the command `python setup.py isort`
I also checked isort package code with his command in tox and travis.
Acknowledgements: this is mostly inspired by flake8 setuptools integration,
see [flake8 doc](http://flake8.readthedocs.org/en/2.2.3/setuptools.html)
|
| |
|
| |
|
|
|