<NME> Makefile
<BEF> source := ${wildcard ./arxiv/*.py}
tests := ${wildcard tests/*.py}

.PHONY: all lint test audit docs clean

all: lint test docs

lint: $(source) $(tests)
	flake8 . --count --max-complexity=10 --statistics

test: $(source) $(tests)
	pytest

docs: docs/index.html
docs/index.html: $(source)

docs: docs/index.html
docs/index.html: $(source) README.md
	pdoc --docformat "restructuredtext" ./arxiv/arxiv.py -o docs
	mv docs/arxiv/arxiv.html docs/index.html
	rmdir docs/arxiv
	rm docs/search.js

clean:
	rm -rf build dist
	rm -rf __pycache__ **/__pycache__
	rm -rf *.pyc **/*.pyc
	rm -rf arxiv.egg-info

<MSG> Use 3 pytest workers

<DFF> @@ -9,7 +9,7 @@ lint: $(source) $(tests)
 	flake8 . --count --max-complexity=10 --statistics
 
 test: $(source) $(tests)
-	pytest
+	pytest -n 3
 
 docs: docs/index.html
 docs/index.html: $(source)

Use 3 pytest workers