Skip to content

Commit

Permalink
Stop supporting python2.6 Resolves pre-commit#263
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Aug 18, 2016
1 parent ea05189 commit 1522a8e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
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',
Expand Down Expand Up @@ -46,9 +45,6 @@
'pyyaml',
'virtualenv',
],
extras_require={
':python_version=="2.6"': ['argparse', 'ordereddict'],
},
entry_points={
'console_scripts': [
'pre-commit = pre_commit.main:main',
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[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
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

Expand Down

0 comments on commit 1522a8e

Please sign in to comment.