From 1522a8e05b14dd49699f9668e93c54381c2ecbbc Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Thu, 18 Aug 2016 07:32:47 -0700 Subject: [PATCH] Stop supporting python2.6 Resolves #263 --- .travis.yml | 1 - setup.py | 4 ---- tox.ini | 4 ++-- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 23bcca68..cb9a73cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: python python: 3.5 env: # These should match the tox env list - - TOXENV=py26 - TOXENV=py27 - TOXENV=py33 - TOXENV=py34 diff --git a/setup.py b/setup.py index 1923b7ea..a27034f9 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,6 @@ setup( classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', @@ -46,9 +45,6 @@ setup( 'pyyaml', 'virtualenv', ], - extras_require={ - ':python_version=="2.6"': ['argparse', 'ordereddict'], - }, entry_points={ 'console_scripts': [ 'pre-commit = pre_commit.main:main', diff --git a/tox.ini b/tox.ini index 2208a363..0cf174a6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] project = pre_commit # These should match the travis env list -envlist = py26,py27,py33,py34,py35,pypy,pypy3 +envlist = py27,py33,py34,py35,pypy,pypy3 [testenv] deps = -rrequirements-dev.txt @@ -9,7 +9,7 @@ passenv = HOME HOMEPATH PROGRAMDATA TERM commands = coverage erase coverage run -m pytest {posargs:tests} - # TODO: when dropping py26, change to 100 + # TODO: change to 100 coverage report --show-missing --fail-under 99 pre-commit run --all-files