Skip to content

Commit 1522a8e

Browse files
committed
Stop supporting python2.6 Resolves pre-commit#263
1 parent ea05189 commit 1522a8e

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: python
22
python: 3.5
33
env: # These should match the tox env list
4-
- TOXENV=py26
54
- TOXENV=py27
65
- TOXENV=py33
76
- TOXENV=py34

setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
classifiers=[
1919
'License :: OSI Approved :: MIT License',
2020
'Programming Language :: Python :: 2',
21-
'Programming Language :: Python :: 2.6',
2221
'Programming Language :: Python :: 2.7',
2322
'Programming Language :: Python :: 3',
2423
'Programming Language :: Python :: 3.4',
@@ -46,9 +45,6 @@
4645
'pyyaml',
4746
'virtualenv',
4847
],
49-
extras_require={
50-
':python_version=="2.6"': ['argparse', 'ordereddict'],
51-
},
5248
entry_points={
5349
'console_scripts': [
5450
'pre-commit = pre_commit.main:main',

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[tox]
22
project = pre_commit
33
# These should match the travis env list
4-
envlist = py26,py27,py33,py34,py35,pypy,pypy3
4+
envlist = py27,py33,py34,py35,pypy,pypy3
55

66
[testenv]
77
deps = -rrequirements-dev.txt
88
passenv = HOME HOMEPATH PROGRAMDATA TERM
99
commands =
1010
coverage erase
1111
coverage run -m pytest {posargs:tests}
12-
# TODO: when dropping py26, change to 100
12+
# TODO: change to 100
1313
coverage report --show-missing --fail-under 99
1414
pre-commit run --all-files
1515

0 commit comments

Comments
 (0)