mirror of https://github.com/docker/compose.git
Use newer versions of pre-commit hooks
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
bbebf518cf
commit
4652d3c38a
|
@ -1,5 +1,5 @@
|
||||||
- repo: git://github.com/pre-commit/pre-commit-hooks
|
- repo: git://github.com/pre-commit/pre-commit-hooks
|
||||||
sha: 'v0.4.2'
|
sha: 'v0.9.1'
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
- id: check-docstring-first
|
- id: check-docstring-first
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
- id: requirements-txt-fixer
|
- id: requirements-txt-fixer
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
- repo: git://github.com/asottile/reorder_python_imports
|
- repo: git://github.com/asottile/reorder_python_imports
|
||||||
sha: v0.1.0
|
sha: v0.3.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: reorder-python-imports
|
- id: reorder-python-imports
|
||||||
language_version: 'python2.7'
|
language_version: 'python2.7'
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
from __future__ import absolute_import
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from compose.cli.main import main
|
from compose.cli.main import main
|
||||||
main()
|
main()
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
PySocks==1.6.7
|
|
||||||
PyYAML==3.12
|
|
||||||
backports.ssl-match-hostname==3.5.0.1; python_version < '3'
|
backports.ssl-match-hostname==3.5.0.1; python_version < '3'
|
||||||
cached-property==1.3.0
|
cached-property==1.3.0
|
||||||
certifi==2017.4.17
|
certifi==2017.4.17
|
||||||
|
@ -15,6 +13,8 @@ idna==2.5
|
||||||
ipaddress==1.0.18
|
ipaddress==1.0.18
|
||||||
jsonschema==2.6.0
|
jsonschema==2.6.0
|
||||||
pypiwin32==219; sys_platform == 'win32'
|
pypiwin32==219; sys_platform == 'win32'
|
||||||
|
PySocks==1.6.7
|
||||||
|
PyYAML==3.12
|
||||||
requests==2.11.1
|
requests==2.11.1
|
||||||
six==1.10.0
|
six==1.10.0
|
||||||
texttable==0.8.8
|
texttable==0.8.8
|
||||||
|
|
|
@ -50,4 +50,3 @@ echo "*** Using $(openssl_version)"
|
||||||
if !(which virtualenv); then
|
if !(which virtualenv); then
|
||||||
pip install virtualenv
|
pip install virtualenv
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue