<commit_before>
VALGRIND=valgrind
VALGRIND_FLAGS=--gen-suppressions=no \
	--read-var-info=yes \
	--error-exitcode=1 \
	--track-origins=yes

CPPCHECK=cppcheck
CPPCHECK_FLAGS=--quiet --enable=all --inconclusive --error-exitcode=2 \
	--std=c89 --std=posix --std=c++11 \
	--suppress=variableScope  \
	--template '{file}:{line} {severity} {id} {message}'


# Default GCC-based flags
#
# http://stackoverflow.com/questions/1629685/when-and-how-to-use-gccs-stack-protection-feature
# We will warn about stack-protect just to make sure we don't
# cause errors in environments that's it used.  However we do not
# use -fstack-protector since:
#
#  * does not actually protect against buffer over-reads on fixed array sizes
#  * breaks valgrinds ability to detect this.
#
CFLAGS=-g -O3 -Wall -Wextra -Werror -Wcast-align -Wshadow -Wpointer-arith -Wcast-qual -Wstack-protector -D_FORTIFY_SOURCE=2 -std=c90 -pedantic

help:<commit_msg>Fix test for use with g++<commit_after>
VALGRIND=valgrind
VALGRIND_FLAGS=--gen-suppressions=no \
	--read-var-info=yes \
	--error-exitcode=1 \
	--track-origins=yes

CPPCHECK=cppcheck
CPPCHECK_FLAGS=--quiet --enable=all --inconclusive --error-exitcode=2 \
	--std=c89 --std=posix --std=c++11 \
	--suppress=variableScope  \
	--template '{file}:{line} {severity} {id} {message}'


# Default GCC-based flags
#
# http://stackoverflow.com/questions/1629685/when-and-how-to-use-gccs-stack-protection-feature
# We will warn about stack-protect just to make sure we don't
# cause errors in environments that's it used.  However we do not
# use -fstack-protector since:
#
#  * does not actually protect against buffer over-reads on fixed array sizes
#  * breaks valgrinds ability to detect this.
#
CFLAGS=-g -O3 -Wall -Wextra -Werror -Wcast-align -Wshadow -Wpointer-arith -Wcast-qual -Wstack-protector -D_FORTIFY_SOURCE=2 -ansi -pedantic

help:
{'fraction_non_alphanumeric': 0.138544474393531, 'fraction_numerical': 0.01725067385444744, 'mean_word_length': 3.8842105263157896, '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': '6554465', 'n_tokens_mistral': 694, 'n_tokens_neox': 656, 'n_words': 164}