mirror of https://github.com/apache/superset.git
feat: add `make format` command (#14491)
* Update Makefile * fix makefile
This commit is contained in:
parent
f55882e756
commit
96289e93d7
8
Makefile
8
Makefile
|
@ -47,3 +47,11 @@ pre-commit:
|
||||||
# setup pre commit dependencies
|
# setup pre commit dependencies
|
||||||
pip3 install -r requirements/integration.txt
|
pip3 install -r requirements/integration.txt
|
||||||
pre-commit install
|
pre-commit install
|
||||||
|
|
||||||
|
format: py-format js-format
|
||||||
|
|
||||||
|
py-format:
|
||||||
|
python -m black superset
|
||||||
|
|
||||||
|
js-format:
|
||||||
|
cd superset-frontend; npm run prettier
|
||||||
|
|
Loading…
Reference in New Issue