feat: add `make format` command (#14491)

* Update Makefile

* fix makefile
This commit is contained in:
Hugh A. Miles II 2021-05-06 11:16:49 -04:00 committed by GitHub
parent f55882e756
commit 96289e93d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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