Rvrt "Add pre-commit hook for trailing-whitespace" 15/11515/2 v0.21.2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 22 Jun 2018 13:50:13 +0000 (13:50 +0000)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 22 Jun 2018 13:59:42 +0000 (09:59 -0400)
This reverts commit f325f0dc4d34cb79e9c15813140db1e18ed2a185.

Change-Id: Iaf8fbe8a9760670bd7dc94da89e1cac145be8fb4
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.pre-commit-config.yaml [deleted file]
tox.ini

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
deleted file mode 100644 (file)
index ce05348..0000000
+++ /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 c5578f7..2d4d91e 100644 (file)
--- 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 =