<commit_before>#
# See ./CONTRIBUTING.rst
#

test.lint: clean
	pre-commit run --all-files --verbose

test: clean
	@echo $(MESSAGE) Running tests on the current Python interpreter with coverage $(END)
	docker-compose -f docker-compose.yml -f docker-compose/test.yml run --rm app \
		py.test --cov pyworkplace --cov tests --doctest-modules --verbose pyworkplace tests
	@echo

test.pytest: clean
	@echo $(MESSAGE) Running tests on the current Python $(END)
	@if [ "${test}" == "" ]; then \
		docker-compose -f docker-compose.yml -f docker-compose/test.yml run --rm app \
			py.test -s pyworkplace tests; \
	else \
		docker-compose -f docker-compose.yml -f docker-compose/test.yml run --rm app \
			py.test tests/"${test}"; \
	fi<commit_msg>!#26 Add: settings actions for test<commit_after>#
# See ./CONTRIBUTING.rst
#

test.lint: clean
	pre-commit run --all-files --verbose

test: clean
	@echo $(MESSAGE) Running tests on the current Python interpreter with coverage $(END)
	docker-compose -f docker-compose.yml -f docker-compose/test.yml run --rm app \
		py.test --cov pyworkplace --cov tests --doctest-modules --verbose pyworkplace tests
	@echo

test.pytest: clean
	@echo $(MESSAGE) Running tests on the current Python $(END)
	@if [ "${test}" == "" ]; then \
		docker-compose -f docker-compose.yml -f docker-compose/test.yml run --rm app \
			py.test -s pyworkplace tests; \
	else \
		docker-compose -f docker-compose.yml -f docker-compose/test.yml run --rm app \
			py.test -s tests/"${test}"; \
	fi
{'fraction_non_alphanumeric': 0.14409606404269512, 'fraction_numerical': 0.00133422281521014, 'mean_word_length': 3.1666666666666665, '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': '2286811', 'n_tokens_mistral': 558, 'n_tokens_neox': 508, 'n_words': 163}