mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-23 20:45:33 +03:00
add: Makefile entries for black formatting & testing
This commit is contained in:
parent
79223b15cb
commit
24636a544c
4
Makefile
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user