From 96289e93d7c968fceb03602ed844ce9e7eafb8d1 Mon Sep 17 00:00:00 2001 From: "Hugh A. Miles II" Date: Thu, 6 May 2021 11:16:49 -0400 Subject: [PATCH] feat: add `make format` command (#14491) * Update Makefile * fix makefile --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 6178bfafa..7629942ab 100644 --- a/Makefile +++ b/Makefile @@ -47,3 +47,11 @@ pre-commit: # setup pre commit dependencies pip3 install -r requirements/integration.txt pre-commit install + +format: py-format js-format + +py-format: + python -m black superset + +js-format: + cd superset-frontend; npm run prettier