<commit_before># opentrons api makefile

SHELL := /bin/bash

.PHONY: test docs publish clean install exe dev

install:
	python setup.py install && pip install -r requirements.txt

test:
	pylama opentrons tests && py.test --cov=opentrons --cov-report term-missing:skip-covered tests

docs:
	cd docs && make html && make doctest

publish:
	cd scripts && publish.sh && doc-deploy.sh

dev:
	python opentrons/server/main.py

exe: dist/opentrons-api-server

dist/opentrons-api-server:
	pyinstaller opentrons-api-server.spec

clean:
	rm -rf \
		__pycache__ \
		*.egg-info \
		build \
		dist \
		calibrations \
		.coverage
	find . -name __pycache__ -type d -print | xargs rm -rf<commit_msg>Re-add XML coverage report to API test task<commit_after># opentrons api makefile

SHELL := /bin/bash

.PHONY: test docs publish clean install exe dev

install:
	python setup.py install && pip install -r requirements.txt

test:
	pylama opentrons tests && py.test \
		--cov=opentrons \
		--cov-report term-missing:skip-covered \
		--cov-report xml:coverage.xml \
		tests

docs:
	cd docs && make html && make doctest

publish:
	cd scripts && publish.sh && doc-deploy.sh

dev:
	python opentrons/server/main.py

exe: dist/opentrons-api-server

dist/opentrons-api-server:
	pyinstaller opentrons-api-server.spec

clean:
	rm -rf \
		__pycache__ \
		*.egg-info \
		build \
		dist \
		calibrations \
		.coverage
	find . -name __pycache__ -type d -print | xargs rm -rf
{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.0, 'mean_word_length': 3.1768115942028987, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '4062978', 'n_tokens_mistral': 554, 'n_tokens_neox': 523, 'n_words': 146}