summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 60790658..deb9ca33 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,10 @@ test: venv
./venv/bin/python ./unitest.py
./venv/bin/python ./unitest-restful.py
./venv/bin/python ./unitest-xmlrpc.py
+ ./venv/bin/python -m black ./glances --check
+
+format: venv
+ ./venv/bin/python -m black ./glances
docs: venv-dev
./venv/bin/python -m glances -C ./conf/glances.conf --api-doc > ./docs/api.rst