mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-13 20:40:08 -06:00
Merge pull request #399 from pre-commit/stop_testing_py26
Stop supporting python2.6 Resolves #263
This commit is contained in:
@@ -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
|
||||
|
||||
4
setup.py
4
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',
|
||||
|
||||
4
tox.ini
4
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user