<commit_before>.PHONY: docs

clean:
	rm -Rif __pycache__
	rm -Rif supriya.egg-info/
	rm -Rif dist/
	rm -Rif build/
	rm -Rif .tox/
	rm -Rif .cache/
	rm -Rif prof/
	find . -name '*.pyc' | xargs rm

docs:
	make -C docs html

sanity-check:
	python -c 'import supriya; server = supriya.Server().boot(); print(server); server.quit()'

test:
	rm -Rf htmlcov/
	pytest \
		--cov-config=.coveragerc \
		--cov-report=html \
		--cov-report=term \
		--cov=supriya/ \
		--durations=20 \
		--profile \
		--timeout=60 \
		tests/ \
		supriya/

test-travis:
	pytest \
		--durations=100 \
		--profile \
		--timeout=60 \
		-x \
		tests/test_realtime_Server_boot.py \
		tests/ \
		supriya/

testx:
	rm -Rf htmlcov/
	pytest \
		-x \
		--cov-config=.coveragerc \
		--cov-report=html \
		--cov-report=term \
		--cov=supriya/ \
		--durations=20 \
		--timeout=60 \
		tests/ \
		supriya/
<commit_msg>Add mypy command to Makefile<commit_after>.PHONY: docs

clean:
	rm -Rif __pycache__
	rm -Rif supriya.egg-info/
	rm -Rif dist/
	rm -Rif build/
	rm -Rif .tox/
	rm -Rif .cache/
	rm -Rif prof/
	find . -name '*.pyc' | xargs rm

docs:
	make -C docs html

sanity-check:
	python -c 'import supriya; server = supriya.Server().boot(); print(server); server.quit()'

test:
	rm -Rf htmlcov/
	pytest \
		--cov-config=.coveragerc \
		--cov-report=html \
		--cov-report=term \
		--cov=supriya/ \
		--durations=20 \
		--profile \
		--timeout=60 \
		tests/ \
		supriya/

test-travis:
	pytest \
		--durations=100 \
		--profile \
		--timeout=60 \
		-x \
		tests/test_realtime_Server_boot.py \
		tests/ \
		supriya/

testx:
	rm -Rf htmlcov/
	pytest \
		-x \
		--cov-config=.coveragerc \
		--cov-report=html \
		--cov-report=term \
		--cov=supriya/ \
		--durations=20 \
		--timeout=60 \
		tests/ \
		supriya/

mypy:
	mypy supriya ../uqbar/uqbar

{'fraction_non_alphanumeric': 0.17084028937117418, 'fraction_numerical': 0.014468558708959377, 'mean_word_length': 2.042301184433164, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6823940', 'n_tokens_mistral': 882, 'n_tokens_neox': 808, 'n_words': 168}