diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-02 15:48:55 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2019-02-16 08:02:39 -0800 |
commit | 3c54c0e4177b2c92db40161a83397f1b221de57d (patch) | |
tree | 30f558a1d21cf9ffd5ffdaf09253cf592936d952 /.travis.yml | |
parent | bf67c678c13f5052623a968764263e934551db62 (diff) | |
download | isort-3c54c0e4177b2c92db40161a83397f1b221de57d.tar.gz |
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
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index a4815179..e1205586 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,10 +4,10 @@ language: python cache: pip matrix: include: - - env: TOXENV=isort-check - - env: TOXENV=lint - - python: 2.7 - env: TOXENV=py27 + - python: 3.7 + env: TOXENV=isort-check + - python: 3.7 + env: TOXENV=lint - python: 3.4 env: TOXENV=py34 - python: 3.5 @@ -16,8 +16,6 @@ matrix: env: TOXENV=py36 - python: 3.7 env: TOXENV=py37 - - python: pypy2.7-6.0 - env: TOXENV=pypy - python: pypy3.5-6.0 env: TOXENV=pypy3 install: |