<commit_before>check:
	pylint \
		--reports=no \
		--rcfile=/dev/null \
		--dummy-variables-rgx='^_+$$' \
		--disable=bad-continuation \
		--disable=duplicate-code \
		--disable=fixme \
		--disable=missing-docstring \
		--disable=too-many-arguments \
		--disable=invalid-name \
		--disable=too-many-locals \
		--disable=too-many-return-statements \
		--disable=too-many-instance-attributes \
		--disable=too-many-public-methods \
		--disable=too-many-branches \
		--disable=too-many-lines \
		--disable=too-many-statements \
		--disable=no-self-use \
		--disable=unused-argument \
		--disable=too-few-public-methods \
		cpp cppclean setup.py
	pep8 cpp $(wildcard *.py)
	check-manifest
	python setup.py --long-description | rst2html.py --strict > /dev/null

coverage:
	@coverage erase
	@PYTHON='coverage run --parallel-mode' ./test.bash
	@coverage combine
	@coverage report

open_coverage: coverage
	@coverage html
	@python -m webbrowser -n "file://${PWD}/htmlcov/index.html"

readme:
	@restview --long-description --strict
<commit_msg>Use rstcheck<commit_after>check:
	pylint \
		--reports=no \
		--rcfile=/dev/null \
		--dummy-variables-rgx='^_+$$' \
		--disable=bad-continuation \
		--disable=duplicate-code \
		--disable=fixme \
		--disable=missing-docstring \
		--disable=too-many-arguments \
		--disable=invalid-name \
		--disable=too-many-locals \
		--disable=too-many-return-statements \
		--disable=too-many-instance-attributes \
		--disable=too-many-public-methods \
		--disable=too-many-branches \
		--disable=too-many-lines \
		--disable=too-many-statements \
		--disable=no-self-use \
		--disable=unused-argument \
		--disable=too-few-public-methods \
		cpp cppclean setup.py
	pep8 cpp $(wildcard *.py)
	check-manifest
	python setup.py --long-description | rstcheck -

coverage:
	@coverage erase
	@PYTHON='coverage run --parallel-mode' ./test.bash
	@coverage combine
	@coverage report

open_coverage: coverage
	@coverage html
	@python -m webbrowser -n "file://${PWD}/htmlcov/index.html"

readme:
	@restview --long-description --strict

{'fraction_non_alphanumeric': 0.16853932584269662, 'fraction_numerical': 0.0014655593551538837, 'mean_word_length': 3.031496062992126, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5901363', 'n_tokens_mistral': 799, 'n_tokens_neox': 740, 'n_words': 117}