File size: 513 Bytes
a8164b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
install:
	pip install --upgrade pip &&\
		pip install -r requirements.txt

test:
	python -m pytest -vvv --cov=hello --cov=gretting \
		--cov=smath --cov=web tests
	python -m pytest --nbval notebook.ipynb #tests our notebook
	#python -m pytest -v tests/test_web.py #if we jusyt want to test web

debug:
	python -m pytest -vv --pdb #Debugger is invoked

one-test:
	python -m pytest --vv test/test_greeting.py::test_my_name4

format:
	black *.py


lint:
	pylint --disable=R,C hello.py

all: install lint test format