You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2019/07/08 16:38:42 UTC
[incubator-superset] branch master updated: Set up a few more
pre-commit hook (#7830)
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 <ma...@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