<commit_before>.PHONY: build

build:
	virtualenv -p python2.7 env
	./env/bin/pip install --upgrade --quiet pip wheel
	./env/bin/pip install --quiet --find-links wheels -r requirements.txt
	./env/bin/python setup.py install
	pwd > env/lib/python2.7/site-packages/perfrunner.pth

clean:
	rm -fr build perfrunner.egg-info
	rm -f `find . -name *.pyc`

pep8:
	./env/bin/flake8 --statistics cbagent perfrunner spring
	./env/bin/isort --quiet --balanced --check-only --recursive perfrunner

nose:
	./env/bin/nosetests -v unittests.py

test: nose pep8<commit_msg>Add more target to make clean<commit_after>.PHONY: build

build:
	virtualenv -p python2.7 env
	./env/bin/pip install --upgrade --quiet pip wheel
	./env/bin/pip install --quiet --find-links wheels -r requirements.txt
	./env/bin/python setup.py install
	pwd > env/lib/python2.7/site-packages/perfrunner.pth

clean:
	rm -fr build perfrunner.egg-info dist
	find . -name '*.pyc' -o -name '*.pyo' | xargs rm -f

pep8:
	./env/bin/flake8 --statistics cbagent perfrunner spring
	./env/bin/isort --quiet --balanced --check-only --recursive perfrunner

nose:
	./env/bin/nosetests -v unittests.py

test: nose pep8
{'fraction_non_alphanumeric': 0.14273356401384082, 'fraction_numerical': 0.012110726643598616, 'mean_word_length': 3.0313588850174216, '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': '6127939', 'n_tokens_mistral': 464, 'n_tokens_neox': 442, 'n_words': 117}