<commit_before>.PHONY: api api-install api-test api-lint api-docs api-deploy api-clean

api: api-clean api-install api-lint api-test api-docs api-deploy api-wheel

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

api-test:
	nosetests --with-coverage

api-lint:
	pylama

api-docs:
	cd docs && make clean html && make doctest && cd ..

api-deploy:
	cd scripts && ./doc-deploy.sh && cd ..

api-wheel:
	rm ../app/release-assets/*.whl; python setup.py bdist_wheel -d ../app/release-assets
	ls ../app/release-assets/*.whl | xargs -I{} basename {} > ../app/release-assets/whl-name

api-clean:
	rm -rf \
		*.egg-info \
		build/ \
		dist/ \<commit_msg>have makefile explicitly install python3<commit_after>.PHONY: api api-install api-test api-lint api-docs api-deploy api-clean

api: api-clean api-install api-lint api-test api-docs api-deploy api-wheel

api-install:
	pip install -r requirements.txt
	python3 setup.py install

api-test:
	nosetests --with-coverage

api-lint:
	pylama

api-docs:
	cd docs && make clean html && make doctest && cd ..

api-deploy:
	cd scripts && ./doc-deploy.sh && cd ..

api-wheel:
	rm ../app/release-assets/*.whl; python3 setup.py bdist_wheel -d ../app/release-assets
	ls ../app/release-assets/*.whl | xargs -I{} basename {} > ../app/release-assets/whl-name

api-clean:
	rm -rf \
		*.egg-info \
		build/ \
		dist/ \
{'fraction_non_alphanumeric': 0.15429831006612785, 'fraction_numerical': 0.002204261572373255, 'mean_word_length': 2.902578796561605, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2426081', 'n_tokens_mistral': 529, 'n_tokens_neox': 497, 'n_words': 130}