Stop supporting python2.6 Resolves #263

This commit is contained in:
Anthony Sottile 2016-08-18 07:32:47 -07:00
parent ea05189c28
commit 1522a8e05b
3 changed files with 2 additions and 7 deletions

View file

@ -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

View file

@ -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',

View file

@ -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