CoolFace
Apppublic

rizam/rakeeb_text-classification

sourceHugging Faceupdated 4y agoView on Hugging Face
1likes
Makefile27 linesDownload Raw Back to root
1install:
2	pip install --upgrade pip &&\
3		pip install -r requirements.txt
4
5test:
6	python -m pytest -vvv --cov=hello --cov=greeting \
7		--cov=smath --cov=web tests
8	python -m pytest --nbval notebook.ipynb	#tests our jupyter notebook
9	#python -m pytest -v tests/test_web.py #if you just want to test web
10
11debug:
12	python -m pytest -vv --pdb	#Debugger is invoked
13
14one-test:
15	python -m pytest -vv tests/test_greeting.py::test_my_name4
16
17debugthree:
18	#not working the way I expect
19	python -m pytest -vv --pdb --maxfail=4  # drop to PDB for first three failures
20
21format:
22	black *.py
23
24lint:
25	pylint --disable=R,C *.py
26
27all: install lint test format