<commit_before>.PHONY: all test pylint flake8

PACKAGE=whip

all: test pylint flake8

test:
	nosetests --verbose --with-coverage --cover-package=${PACKAGE}

pylint:
	-pylint \
		--report=no \
		--msg-template='{path}:{line}:{column} [{msg_id}/{symbol}] {msg}' \
		--disable=bad-builtin \
		--disable=fixme \
		--disable=invalid-name \
		--disable=locally-disabled \
		--disable=star-args \
		--disable=too-few-public-methods \
		--disable=too-many-return-statements \
		${PACKAGE}<commit_msg>Output test coverage report in HTML from "make test"<commit_after>.PHONY: all test pylint flake8

PACKAGE=whip

all: test pylint flake8

test:
	nosetests --verbose --with-coverage --cover-package=${PACKAGE} --cover-html --cover-html-dir coverage/

pylint:
	-pylint \
		--report=no \
		--msg-template='{path}:{line}:{column} [{msg_id}/{symbol}] {msg}' \
		--disable=bad-builtin \
		--disable=fixme \
		--disable=invalid-name \
		--disable=locally-disabled \
		--disable=star-args \
		--disable=too-few-public-methods \
		--disable=too-many-return-statements \
		${PACKAGE}
{'fraction_non_alphanumeric': 0.18250235183443086, 'fraction_numerical': 0.0037629350893697085, 'mean_word_length': 3.2903225806451615, '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': '1098294', 'n_tokens_mistral': 417, 'n_tokens_neox': 393, 'n_words': 68}