<commit_before>SHELL=/bin/bash

wheel: lint constants clean
	./setup.py bdist_wheel

constants: aegea/constants.json

aegea/constants.json:
	python -c "import aegea; aegea.initialize(); from aegea.util.constants import write; write()"

lint_deps:
	pip install flake8

lint: lint_deps
	./setup.py flake8
#	flake8 scripts/*

test_deps:
	pip install coverage

test: test_deps lint
	coverage run setup.py test<commit_msg>test failures<commit_after>SHELL=/bin/bash

wheel: lint constants clean
	./setup.py bdist_wheel

constants: aegea/constants.json

aegea/constants.json:
	python -c "import aegea; aegea.initialize(); from aegea.util.constants import write; write()"

lint_deps:
	pip install flake8

lint: lint_deps
	./setup.py flake8
#	flake8 scripts/*

test_deps:
	pip install coverage

test: test_deps lint
#coverage run setup.py test
{'fraction_non_alphanumeric': 0.09712230215827339, 'fraction_numerical': 0.007194244604316547, 'mean_word_length': 4.758620689655173, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1574093', 'n_tokens_mistral': 330, 'n_tokens_neox': 327, 'n_words': 82}