text-summarization / Makefile
Abdul Jaweed
adding initial code
2b80fd3
raw
history blame contribute delete
639 Bytes
install:
pip install --upgrade pip &&\
pip install -r requirements.txt
text:
python -m pytest -vvv -cov-hello --cov=greeting \
--cov=smath --cov=web tests
python -m pytest -nbval notebook.ipynb # tests our jupyter notebook
#python -m pytest -v tests/test_web.py #if you just want to test web
debug:
python -m pytest -vv --pdb #Debugger is invoked
one-test:
python -m pytest -vv tests/test_greeting.py::test_my_name4
debugthree:
#not working the way I expect
python -m pytest -vv -pdb --maxfail=4 # drop to PDB for first three failures
format:
black *.py
link:
pylint --disable=R,C *.py
all: install lint test format