<commit_before>PACKAGE_NAME=omf

.PHONY: install docs coverage lint lint-html graphs tests

install:
	python setup.py install

docs:
	cd docs && make html

coverage:
	nosetests --logging-level=INFO --with-coverage --cover-package=$(PACKAGE_NAME) --cover-html
	open cover/index.html

lint:
	pylint $(PACKAGE_NAME)

lint-html:
	pylint --output-format=html $(PACKAGE_NAME) > pylint.html

graphs:
	pyreverse -my -A -o pdf -p $(PACKAGE_NAME) $(PACKAGE_NAME)/**.py $(PACKAGE_NAME)/**/**.py

tests:
	nosetests --logging-level=INFO --with-coverage --cover-package=$(PACKAGE_NAME)
	make lint<commit_msg>Add publish to makefile<commit_after>PACKAGE_NAME=omf

.PHONY: install docs coverage lint lint-html graphs tests

install:
	python setup.py install

publish:
	python setup.py sdist upload

docs:
	cd docs && make html

coverage:
	nosetests --logging-level=INFO --with-coverage --cover-package=$(PACKAGE_NAME) --cover-html
	open cover/index.html

lint:
	pylint $(PACKAGE_NAME)

lint-html:
	pylint --output-format=html $(PACKAGE_NAME) > pylint.html

graphs:
	pyreverse -my -A -o pdf -p $(PACKAGE_NAME) $(PACKAGE_NAME)/**.py $(PACKAGE_NAME)/**/**.py

tests:
	nosetests --logging-level=INFO --with-coverage --cover-package=$(PACKAGE_NAME)
	make lint
{'fraction_non_alphanumeric': 0.1421647819063005, 'fraction_numerical': 0.0, 'mean_word_length': 4.386956521739131, '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': '1280433', 'n_tokens_mistral': 458, 'n_tokens_neox': 451, 'n_words': 109}