mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
Merge 895f08af6e into c1c3f3b571
This commit is contained in:
commit
65e6d13e61
3 changed files with 4 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ def install_environment(
|
||||||
# Install a virtualenv
|
# Install a virtualenv
|
||||||
with clean_path_on_failure(repo_cmd_runner.path(directory)):
|
with clean_path_on_failure(repo_cmd_runner.path(directory)):
|
||||||
venv_cmd = [
|
venv_cmd = [
|
||||||
sys.executable, '-m', 'virtualenv',
|
sys.executable, '-m', 'virtualenv_hax',
|
||||||
'{{prefix}}{0}'.format(directory)
|
'{{prefix}}{0}'.format(directory)
|
||||||
]
|
]
|
||||||
if version != 'default':
|
if version != 'default':
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@
|
||||||
astroid<1.3.3
|
astroid<1.3.3
|
||||||
coverage
|
coverage
|
||||||
flake8
|
flake8
|
||||||
|
# To ensure py2 creating py3 virtualenv works under test
|
||||||
|
future
|
||||||
mock
|
mock
|
||||||
pylint<1.4
|
pylint<1.4
|
||||||
pytest
|
pytest
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -47,7 +47,7 @@ setup(
|
||||||
'ordereddict',
|
'ordereddict',
|
||||||
'pyyaml',
|
'pyyaml',
|
||||||
'simplejson',
|
'simplejson',
|
||||||
'virtualenv',
|
'virtualenv-hax',
|
||||||
],
|
],
|
||||||
entry_points={
|
entry_points={
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue