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:23 UTC
[superset] 01/01: use pre-commit instead
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