superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Set up a few more pre-commit hook (#7830)
Date Mon, 08 Jul 2019 16:38:42 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 16b6cca  Set up a few more pre-commit hook (#7830)
16b6cca is described below

commit 16b6ccace909fcae042abe69ecdeb52802f3c1e6
Author: Maxime Beauchemin <maximebeauchemin@gmail.com>
AuthorDate: Mon Jul 8 09:38:36 2019 -0700

    Set up a few more pre-commit hook (#7830)
---
 .pre-commit-config.yaml | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index eb6274e..5edccd7 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -15,8 +15,24 @@
 # limitations under the License.
 #
 repos:
-  - repo: https://github.com/ambv/black
+-   repo: https://github.com/ambv/black
     rev: stable
     hooks:
-      - id: black
+    -   id: black
         language_version: python3.6
+
+-   repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: v2.2.3
+    hooks:
+    -   id: trailing-whitespace
+    -   id: end-of-file-fixer
+    -   id: check-docstring-first
+    -   id: check-json
+    -   id: check-added-large-files
+    -   id: check-yaml
+    -   id: debug-statements
+
+-   repo: https://gitlab.com/pycqa/flake8
+    rev: 3.7.1
+    hooks:
+    -   id: flake8


Mime
View raw message