<commit_before># This file is part of bzz.
# https://github.com/heynemann/bzz

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2014 <NAME> <EMAIL>
#

# lists all available targets
list:
	@sh -c "$(MAKE) -p no_targets__ | awk -F':' '/^[a-zA-Z0-9][^\$$#\/\\t=]*:([^=]|$$)/ {split(\$$1,A,/ /);for(i in A)print A[i]}' | grep -v '__\$$' | grep -v 'make\[1\]' | grep -v 'Makefile' | sort"
# required for list
no_targets__:

# install all dependencies (do not forget to create a virtualenv first)
setup:
	# ujson can fail in pypy, we use json if ujson not installed
	@-pip install -U ujson
	@pip install -U -e .\[tests\]

# test your application (tests in the tests/ directory)
test: unit doctest

test_dependencies: mongo_test drop_test

unit:
	@coverage run --branch `which nosetests` -vv --with-yanc --logging-level=WARNING -s tests/<commit_msg>test dependencies need to be up before test<commit_after># This file is part of bzz.
# https://github.com/heynemann/bzz

# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT-license
# Copyright (c) 2014 <NAME> <EMAIL>
#

# lists all available targets
list:
	@sh -c "$(MAKE) -p no_targets__ | awk -F':' '/^[a-zA-Z0-9][^\$$#\/\\t=]*:([^=]|$$)/ {split(\$$1,A,/ /);for(i in A)print A[i]}' | grep -v '__\$$' | grep -v 'make\[1\]' | grep -v 'Makefile' | sort"
# required for list
no_targets__:

# install all dependencies (do not forget to create a virtualenv first)
setup:
	# ujson can fail in pypy, we use json if ujson not installed
	@-pip install -U ujson
	@pip install -U -e .\[tests\]

# test your application (tests in the tests/ directory)
test: test_dependencies unit doctest

test_dependencies: mongo_test drop_test

unit:
	@coverage run --branch `which nosetests` -vv --with-yanc --logging-level=WARNING -s tests/
{'fraction_non_alphanumeric': 0.1703056768558952, 'fraction_numerical': 0.008733624454148471, 'mean_word_length': 3.761038961038961, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1927466', 'n_tokens_mistral': 698, 'n_tokens_neox': 656, 'n_words': 223}