Skip to content

Commit

Permalink
feat: add make format command (apache#14491)
Browse files Browse the repository at this point in the history
* Update Makefile

* fix makefile
  • Loading branch information
hughhhh authored May 6, 2021
1 parent f55882e commit 96289e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 96289e9

Please sign in to comment.