You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/05/12 01:08:22 UTC

[superset] branch update-make-format created (now 159209b)

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a change to branch update-make-format
in repository https://gitbox.apache.org/repos/asf/superset.git.


      at 159209b  use pre-commit instead

This branch includes the following new commits:

     new 159209b  use pre-commit instead

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[superset] 01/01: use pre-commit instead

Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch update-make-format
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 159209b59798ae4496a301dc6a07b066097f0095
Author: hughhhh <hu...@gmail.com>
AuthorDate: Tue May 11 21:07:34 2021 -0400

    use pre-commit instead
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 7629942..f45558e 100644
--- a/Makefile
+++ b/Makefile
@@ -50,8 +50,8 @@ pre-commit:
 
 format: py-format js-format
 
-py-format:
-	python -m black superset
+py-format: pre-commit
+	pre-commit run black --all-files
 
 js-format:
 	cd superset-frontend; npm run prettier