<commit_before>all:
	./setup.py build_ext --inplace

install: FORCE
	./setup.py install

dist: FORCE
	./setup.py sdist

clean: FORCE
	./setup.py clean --all
	cd lib && ${MAKE} clean
	cd tests && rm -rf khmertest_*
	rm -f khmer/_khmermodule.so

debug:
	export CFLAGS="-pg -fprofile-arcs"; python setup.py build_ext --debug --inplace

doc: FORCE
	./setup.py build_sphinx --fresh-env
	@echo ''
	@echo '--> docs in build/sphinx/html <--'
	@echo ''

cppcheck-result.xml: FORCE
	cppcheck --std=posix --platform=unix64 -j8 --enable=all -I lib/ \
		-i lib/zlib/ -i lib/bzip2/ -DVALIDATE_PARTITIONS \
		--xml lib 2> cppcheck-result.xml

cppcheck: FORCE
	cppcheck --std=posix --platform=unix64 -j8 --enable=all -I lib/ \
		-i lib/zlib/ -i lib/bzip2/ -DVALIDATE_PARTITIONS lib 

pep8: FORCE
	pep8 --exclude=_version.py setup.py khmer/ scripts/ tests/

autopep8: FORCE
	autopep8 setup.py khmer/ scripts/ tests/ --recursive --in-place --pep8-passes 2000 --verbose

pylint: all FORCE
	pylint -f parseable khmer/[!_]*.py khmer/__init__.py scripts/*.py tests

coverage.xml: FORCE
	coverage run --branch --source=scripts,khmer -m nose --with-xunit --attr=\!known_failing
	coverage xml

coverage-gcovr.xml: FORCE
	gcovr --root=. --branches --gcov-exclude='.*zlib.*|.*bzip2.*' --xml --output=coverage-gcovr.xml

doxygen: FORCE
	mkdir -p doc/doxygen
	doxygen
<commit_msg>don't let pylint's error code prematurely fail the build<commit_after>all:
	./setup.py build_ext --inplace

install: FORCE
	./setup.py install

dist: FORCE
	./setup.py sdist

clean: FORCE
	./setup.py clean --all
	cd lib && ${MAKE} clean
	cd tests && rm -rf khmertest_*
	rm -f khmer/_khmermodule.so

debug:
	export CFLAGS="-pg -fprofile-arcs"; python setup.py build_ext --debug --inplace

doc: FORCE
	./setup.py build_sphinx --fresh-env
	@echo ''
	@echo '--> docs in build/sphinx/html <--'
	@echo ''

cppcheck-result.xml: FORCE
	cppcheck --std=posix --platform=unix64 -j8 --enable=all -I lib/ \
		-i lib/zlib/ -i lib/bzip2/ -DVALIDATE_PARTITIONS \
		--xml lib 2> cppcheck-result.xml

cppcheck: FORCE
	cppcheck --std=posix --platform=unix64 -j8 --enable=all -I lib/ \
		-i lib/zlib/ -i lib/bzip2/ -DVALIDATE_PARTITIONS lib 

pep8: FORCE
	pep8 --exclude=_version.py setup.py khmer/ scripts/ tests/

autopep8: FORCE
	autopep8 setup.py khmer/ scripts/ tests/ --recursive --in-place --pep8-passes 2000 --verbose

pylint: all FORCE
	pylint -f parseable khmer/[!_]*.py khmer/__init__.py scripts/*.py tests || /bin/true

coverage.xml: FORCE
	coverage run --branch --source=scripts,khmer -m nose --with-xunit --attr=\!known_failing
	coverage xml

coverage-gcovr.xml: FORCE
	gcovr --root=. --branches --gcov-exclude='.*zlib.*|.*bzip2.*' --xml --output=coverage-gcovr.xml

doxygen: FORCE
	mkdir -p doc/doxygen
	doxygen

{'fraction_non_alphanumeric': 0.154459753444525, 'fraction_numerical': 0.013778100072516316, 'mean_word_length': 3.0753323485967505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, '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': '1801798', 'n_tokens_mistral': 1160, 'n_tokens_neox': 1109, 'n_words': 285}