mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Stop supporting python2.6 Resolves #263
This commit is contained in:
parent
ea05189c28
commit
1522a8e05b
3 changed files with 2 additions and 7 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
language: python
|
language: python
|
||||||
python: 3.5
|
python: 3.5
|
||||||
env: # These should match the tox env list
|
env: # These should match the tox env list
|
||||||
- TOXENV=py26
|
|
||||||
- TOXENV=py27
|
- TOXENV=py27
|
||||||
- TOXENV=py33
|
- TOXENV=py33
|
||||||
- TOXENV=py34
|
- TOXENV=py34
|
||||||
|
|
|
||||||
4
setup.py
4
setup.py
|
|
@ -18,7 +18,6 @@ setup(
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'License :: OSI Approved :: MIT License',
|
'License :: OSI Approved :: MIT License',
|
||||||
'Programming Language :: Python :: 2',
|
'Programming Language :: Python :: 2',
|
||||||
'Programming Language :: Python :: 2.6',
|
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Programming Language :: Python :: 3.4',
|
'Programming Language :: Python :: 3.4',
|
||||||
|
|
@ -46,9 +45,6 @@ setup(
|
||||||
'pyyaml',
|
'pyyaml',
|
||||||
'virtualenv',
|
'virtualenv',
|
||||||
],
|
],
|
||||||
extras_require={
|
|
||||||
':python_version=="2.6"': ['argparse', 'ordereddict'],
|
|
||||||
},
|
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
'pre-commit = pre_commit.main:main',
|
'pre-commit = pre_commit.main:main',
|
||||||
|
|
|
||||||
4
tox.ini
4
tox.ini
|
|
@ -1,7 +1,7 @@
|
||||||
[tox]
|
[tox]
|
||||||
project = pre_commit
|
project = pre_commit
|
||||||
# These should match the travis env list
|
# These should match the travis env list
|
||||||
envlist = py26,py27,py33,py34,py35,pypy,pypy3
|
envlist = py27,py33,py34,py35,pypy,pypy3
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = -rrequirements-dev.txt
|
deps = -rrequirements-dev.txt
|
||||||
|
|
@ -9,7 +9,7 @@ passenv = HOME HOMEPATH PROGRAMDATA TERM
|
||||||
commands =
|
commands =
|
||||||
coverage erase
|
coverage erase
|
||||||
coverage run -m pytest {posargs:tests}
|
coverage run -m pytest {posargs:tests}
|
||||||
# TODO: when dropping py26, change to 100
|
# TODO: change to 100
|
||||||
coverage report --show-missing --fail-under 99
|
coverage report --show-missing --fail-under 99
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue