<commit_before>
#
# SWIG libinjection.i -> libinjection_wrap.c
#  is done in 'setup.py'
#
python: copy
	rm -f libinjection.py libinjection.pyc libinjection/libinjection_wrap.c
	python setup.py --verbose build --force
	sudo python setup.py --verbose install

test-unit: words.py
	./sqlparse2c.py < ../c/sqlparse_data.json > words.py
	python setup.py build_ext --inplace
	PYTHON_PATH='.' nosetests -v test_driver.py

test: test-unit
.PHONY: test

speed:<commit_msg>fix python test driver<commit_after>
#
# SWIG libinjection.i -> libinjection_wrap.c
#  is done in 'setup.py'
#
python: copy
	rm -f libinjection.py libinjection.pyc libinjection/libinjection_wrap.c
	python setup.py --verbose build --force
	sudo python setup.py --verbose install

test-unit: copy
	./sqlparse2c.py < ../c/sqlparse_data.json > words.py
	python setup.py build_ext --inplace
	PYTHON_PATH='.' nosetests -v test_driver.py

test: test-unit
.PHONY: test

speed:
{'fraction_non_alphanumeric': 0.11922663802363051, 'fraction_numerical': 0.0021482277121374865, 'mean_word_length': 3.8290155440414506, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1495915', 'n_tokens_mistral': 352, 'n_tokens_neox': 335, 'n_words': 88}