diff options
author | RazCrimson <52282402+RazCrimson@users.noreply.github.com> | 2021-11-29 21:30:30 +0530 |
---|---|---|
committer | RazCrimson <52282402+RazCrimson@users.noreply.github.com> | 2021-11-29 21:51:18 +0530 |
commit | 24636a544c43a6c28e560265ee3bd11491e5613d (patch) | |
tree | b7665961af1965b655cee2469f54b56c4ede9e24 /Makefile | |
parent | 79223b15cba7d190c891db215bcabe6297b1907b (diff) |
add: Makefile entries for black formatting & testing
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |