Update hooks for pre-commit 0.16.0

This commit is contained in:
Chris Kuehl 2017-08-02 11:33:12 -07:00
parent 48db0c0d0e
commit 7aff186e34
2 changed files with 5 additions and 19 deletions

View file

@ -1,39 +1,25 @@
- repo: https://github.com/pre-commit/pre-commit-hooks.git
sha: 003e43251aea1da33f2072f2365ec8b9ceaae070
sha: v0.9.1
hooks:
- id: autopep8-wrapper
language_version: python3.6
- id: check-added-large-files
language_version: python3.6
- id: check-docstring-first
language_version: python3.6
- id: check-executables-have-shebangs
- id: check-merge-conflict
language_version: python3.6
- id: check-yaml
language_version: python3.6
- id: debug-statements
language_version: python3.6
- id: detect-private-key
language_version: python3.6
- id: double-quote-string-fixer
language_version: python3.6
- id: end-of-file-fixer
language_version: python3.6
- id: flake8
language_version: python3.6
- id: name-tests-test
language_version: python3.6
- id: requirements-txt-fixer
language_version: python3.6
- id: trailing-whitespace
language_version: python3.6
- repo: https://github.com/asottile/reorder_python_imports.git
sha: 3d86483455ab5bd06cc1069fdd5ac57be5463f10
sha: v0.3.5
hooks:
- id: reorder-python-imports
language_version: python3.6
- repo: https://github.com/Lucas-C/pre-commit-hooks.git
sha: 181a63c511691da58116fa19a7241956018660bc
sha: v1.0.1
hooks:
- id: remove-tabs
language_version: python3.6

View file

@ -8,7 +8,7 @@ commands =
python -m pytest
[testenv:pre-commit]
basepython = /usr/bin/python3.5
basepython = /usr/bin/python3.6
commands = pre-commit {posargs:run --all-files}
[flake8]