<commit_before>
install:
	virtualenv .
	source bin/activate && pip install -r requirements.txt
	source bin/activate && python setup.py develop

coverage:
	./bin/nosetests -s -v --with-coverage --cover-html --cover-package=janitor --cover-html-dir=cover janitor

tests:
	./bin/nosetests -s -v janitor

ftests:
	./bin/nosetests -s -v ftests

depcache:
	mkdir -p deps
	virtualenv dep-download
	dep-download/bin/pip install -d deps -r requirements.txt
	tar cvf maid-deps.tgz deps
	rm -Rf dep-download
	rm -Rf deps

sphinx:
	make -f Makefile.sphinx html

ghpages:
	git checkout gh-pages && \
	rm -r _modules _sources _static generated genindex.html index.html objects.inv py-modindex.html search.html searchindex.js && \
	cp -r build/html/* . && \
	git add -u && \
	git commit -m "Updated generated Sphinx documentation"<commit_msg>Delete Sphinx build dir before generating docs<commit_after>
install:
	virtualenv .
	source bin/activate && pip install -r requirements.txt
	source bin/activate && python setup.py develop

coverage:
	./bin/nosetests -s -v --with-coverage --cover-html --cover-package=janitor --cover-html-dir=cover janitor

tests:
	./bin/nosetests -s -v janitor

ftests:
	./bin/nosetests -s -v ftests

depcache:
	mkdir -p deps
	virtualenv dep-download
	dep-download/bin/pip install -d deps -r requirements.txt
	tar cvf maid-deps.tgz deps
	rm -Rf dep-download
	rm -Rf deps

sphinx:
	rm -r build && \
	make -f Makefile.sphinx html

ghpages:
	git checkout gh-pages && \
	rm -r _modules _sources _static generated genindex.html index.html objects.inv py-modindex.html search.html searchindex.js && \
	cp -r build/html/* . && \
	git add -u && \
	git commit -m "Updated generated Sphinx documentation"
{'fraction_non_alphanumeric': 0.11378299120234604, 'fraction_numerical': 0.0, 'mean_word_length': 3.275689223057644, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4562928', 'n_tokens_mistral': 616, 'n_tokens_neox': 602, 'n_words': 186}