From: Thanh Ha Date: Fri, 22 Jun 2018 13:50:13 +0000 (+0000) Subject: Rvrt "Add pre-commit hook for trailing-whitespace" X-Git-Tag: v0.21.2^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=d0dddc7e5ea93df8e47b90bdf6afd2edfd966cb5;p=releng%2Fglobal-jjb.git Rvrt "Add pre-commit hook for trailing-whitespace" This reverts commit f325f0dc4d34cb79e9c15813140db1e18ed2a185. Change-Id: Iaf8fbe8a9760670bd7dc94da89e1cac145be8fb4 Signed-off-by: Thanh Ha --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index ce053483..00000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v1.3.0 - hooks: - - id: trailing-whitespace diff --git a/tox.ini b/tox.ini index c5578f70..2d4d91e6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,8 @@ [tox] minversion = 1.6 -envlist = check-hooks,coala,jjb,jjb-compare-xml,license +envlist = coala,jjb,jjb-compare-xml,license skipsdist = true -[testenv:check-hooks] -deps = pre-commit -commands = - pre-commit install - pre-commit run --all-files - [testenv:coala] basepython = python3 deps =