Use newer versions of pre-commit hooks

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2017-08-02 19:55:58 -07:00 committed by Joffrey F
parent bbebf518cf
commit 4652d3c38a
7 changed files with 10 additions and 8 deletions

View File

@ -1,5 +1,5 @@
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: 'v0.4.2'
sha: 'v0.9.1'
hooks:
- id: check-added-large-files
- id: check-docstring-first
@ -14,7 +14,7 @@
- id: requirements-txt-fixer
- id: trailing-whitespace
- repo: git://github.com/asottile/reorder_python_imports
sha: v0.1.0
sha: v0.3.5
hooks:
- id: reorder-python-imports
language_version: 'python2.7'

View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
from __future__ import absolute_import
from __future__ import unicode_literals
from compose.cli.main import main
main()

View File

@ -1,5 +1,3 @@
PySocks==1.6.7
PyYAML==3.12
backports.ssl-match-hostname==3.5.0.1; python_version < '3'
cached-property==1.3.0
certifi==2017.4.17
@ -15,6 +13,8 @@ idna==2.5
ipaddress==1.0.18
jsonschema==2.6.0
pypiwin32==219; sys_platform == 'win32'
PySocks==1.6.7
PyYAML==3.12
requests==2.11.1
six==1.10.0
texttable==0.8.8

View File

@ -14,4 +14,4 @@ ctnr_id=$(docker create --entrypoint=tox docker-compose-tests:tmp)
docker commit $ctnr_id docker/compose-tests:latest
docker tag docker/compose-tests:latest docker/compose-tests:$TAG
docker rm -f $ctnr_id
docker rmi -f docker-compose-tests:tmp
docker rmi -f docker-compose-tests:tmp

View File

@ -50,4 +50,3 @@ echo "*** Using $(openssl_version)"
if !(which virtualenv); then
pip install virtualenv
fi

View File

@ -1,4 +1,4 @@
IMAGE=alpine:latest
COMMAND=true
PORT1=5643
PORT2=9999
PORT2=9999

View File

@ -1 +1 @@
FOO=1
FOO=1