<commit_before>dependencies: coverage lxml django nose

coverage:
	@python -c 'import coverage' 2>/dev/null || pip install coverage

nose:
	@python -c 'import nose' 2>/dev/null || pip install nose

lxml:
	@python -c 'import lxml' 2>/dev/null || pip install lxml

django:
	@python -c 'import django' 2>/dev/null || pip install django

test: dependencies
	@nosetests --with-xunit --xunit-file=nose.xml --with-coverage --cover-erase --cover-package=htmlmin --verbosity=2 --where=htmlmin/tests<commit_msg>added command to clean pycs<commit_after>dependencies: coverage lxml django nose

clean:
	@find . -name "*.pyc" -delete

coverage:
	@python -c 'import coverage' 2>/dev/null || pip install coverage

nose:
	@python -c 'import nose' 2>/dev/null || pip install nose

lxml:
	@python -c 'import lxml' 2>/dev/null || pip install lxml

django:
	@python -c 'import django' 2>/dev/null || pip install django

test: dependencies clean
	@nosetests --with-xunit --xunit-file=nose.xml --with-coverage --cover-erase --cover-package=htmlmin --verbosity=2 --where=htmlmin/tests
{'fraction_non_alphanumeric': 0.1423185673892554, 'fraction_numerical': 0.00942507068803016, 'mean_word_length': 4.009433962264151, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, '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': '6040495', 'n_tokens_mistral': 367, 'n_tokens_neox': 354, 'n_words': 111}