<commit_before>.PHONY: clean install uninstall install_testrig tox test coverage travis flake8 pypi docs web tag release
clean:
	find . -name "*.pyc" -delete

install:
	python setup.py install

uninstall:
	pip uninstall blackhole

install_testrig:
	pip install nose mock

tox:
	pip install tox detox
	detox

test: install_testrig
	nosetests

coverage:
	pip install coverage
	travis

travis:
	pip install coveralls
	coverage run --source=blackhole runtests.py

flake8:
	pip install flake8
	flake8 blackhole --ignore="F403"

pypi:
	pip install twine wheel
	python setup.py sdist bdist_wheel
        twine upload dist/*

docs:
	pip install sphinx
	sphinx-build -b html docs/source/ docs/build/

web: docs
	rsync -e "ssh -p 2222" -P -rvz --delete docs/build/ k<EMAIL>:/var/www/blackhole.io/

tag:
	bumpversion minor
	git push origin master
	git push --tags

release:
	tag
	pypi
	web<commit_msg>use twine 'cos Alex and dstufft made me<commit_after>.PHONY: clean install uninstall install_testrig tox test coverage travis flake8 pypi docs web tag release
clean:
	find . -name "*.pyc" -delete

install:
	python setup.py install

uninstall:
	pip uninstall blackhole

install_testrig:
	pip install nose mock

tox:
	pip install tox detox
	detox

test: install_testrig
	nosetests

coverage:
	pip install coverage
	travis

travis:
	pip install coveralls
	coverage run --source=blackhole runtests.py

flake8:
	pip install flake8
	flake8 blackhole --ignore="F403"

pypi:
	pip install twine wheel
	python setup.py sdist bdist_wheel
	twine upload dist/*

docs:
	pip install sphinx
	sphinx-build -b html docs/source/ docs/build/

web: docs
	rsync -e "ssh -p 2222" -P -rvz --delete docs/build/ <EMAIL>:/var/www/blackhole.io/

tag:
	bumpversion minor
	git push origin master
	git push --tags

release:
	tag
	pypi
	web
{'fraction_non_alphanumeric': 0.0728587319243604, 'fraction_numerical': 0.012235817575083427, 'mean_word_length': 3.7718832891246685, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1802088', 'n_tokens_mistral': 699, 'n_tokens_neox': 648, 'n_words': 224}