<commit_before>include resources/Makefile

# Override pycodestyle target
pycodestyle:
	@find $(CURDIR)/appengine_fixture_loader/ -name '*.py' -exec pycodestyle {} \;
	@find $(CURDIR)/tests/ -name '*.py' -exec pycodestyle {} \;

# The same for pyflakes
pyflakes:
	@find $(CURDIR)/appengine_fixture_loader/ -name '*.py' -exec pyflakes {} \;
	@find $(CURDIR)/tests/ -name '*.py' -exec pyflakes {} \;

package:
	@.env/bin/python setup.py sdist
	@.env/bin/python setup.py bdist

upload: clean
	@.env/bin/python setup.py sdist upload
	@.env/bin/python setup.py bdist upload

# Overriding TravisCI
travis: venv package
	@.env/bin/coverage run --source=appengine_fixture_loader setup.py test

clean:
	@rm -f dist/*
	@rmdir --ignore-fail-on-non-empty dist<commit_msg>Explicity invoke Python 2.7 (because this is App Engine, after all)<commit_after>include resources/Makefile

# Override pycodestyle target
pycodestyle:
	@find $(CURDIR)/appengine_fixture_loader/ -name '*.py' -exec pycodestyle {} \;
	@find $(CURDIR)/tests/ -name '*.py' -exec pycodestyle {} \;

# The same for pyflakes
pyflakes:
	@find $(CURDIR)/appengine_fixture_loader/ -name '*.py' -exec pyflakes {} \;
	@find $(CURDIR)/tests/ -name '*.py' -exec pyflakes {} \;

package:
	@.env/bin/python2.7 setup.py sdist
	@.env/bin/python2.7 setup.py bdist

upload: clean
	@.env/bin/python2.7 setup.py sdist upload
	@.env/bin/python2.7 setup.py bdist upload

# Overriding TravisCI
travis: venv package
	@.env/bin/coverage run --source=appengine_fixture_loader setup.py test

clean:
	@rm -f dist/*
	@rmdir --ignore-fail-on-non-empty dist
{'fraction_non_alphanumeric': 0.15170670037926676, 'fraction_numerical': 0.006321112515802781, 'mean_word_length': 3.9779874213836477, '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': '1574360', 'n_tokens_mistral': 592, 'n_tokens_neox': 589, 'n_words': 147}