From d0dddc7e5ea93df8e47b90bdf6afd2edfd966cb5 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Fri, 22 Jun 2018 13:50:13 +0000 Subject: [PATCH] Rvrt "Add pre-commit hook for trailing-whitespace" This reverts commit f325f0dc4d34cb79e9c15813140db1e18ed2a185. Change-Id: Iaf8fbe8a9760670bd7dc94da89e1cac145be8fb4 Signed-off-by: Thanh Ha --- .pre-commit-config.yaml | 6 ------ tox.ini | 8 +------- 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 .pre-commit-config.yaml 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 = -- 2.16.6