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 <[email protected]>
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

Reply via email to