diff options
author | Daniel Stone <daniels@collabora.com> | 2017-03-16 12:44:04 +0000 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2017-03-16 12:49:24 +0000 |
commit | 154fa6c20ca651b9697e303183cd3964774ffaf9 (patch) | |
tree | b0d9e9235442292fccbd31ca934a01bf38f18d69 | |
parent | bdaeadef362a0320340926a92ff04f215ab4665e (diff) |
Update pre-commit config
pre-commit has apparently changed incompatibly, spewing warnings about
how legacy hooks are being used and thus it is skipping everything.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D1693
-rw-r--r-- | .pre-commit-config.yaml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0c30038..564a5c2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ - repo: https://github.com/pre-commit/pre-commit-hooks.git - sha: ff65d01841ad012d0a9aa1dc451fc4539d8b7baf + sha: 414cfa7b2322cf1c46cd33a49e9da833ad785473 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -13,14 +13,15 @@ - id: requirements-txt-fixer - id: flake8 files: ^git-phab$ - args: ["--max-complexity=40"] + args: + - --max-complexity=40 - repo: https://github.com/pre-commit/pre-commit.git - sha: 495e21b24dfc73624c8c7a16bf974da54e3217e7 + sha: 6e5ac079273c1499add3a85d9b5394d0f1ef1520 hooks: - id: validate_config - id: validate_manifest - repo: https://github.com/asottile/reorder_python_imports.git - sha: 017e2f64306853ec7f000db52b8280da27eb3b96 + sha: v0.3.2 hooks: - id: reorder-python-imports language_version: python2.7 |