From 24636a544c43a6c28e560265ee3bd11491e5613d Mon Sep 17 00:00:00 2001 From: RazCrimson <52282402+RazCrimson@users.noreply.github.com> Date: Mon, 29 Nov 2021 21:30:30 +0530 Subject: add: Makefile entries for black formatting & testing --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3