<commit_before>import subprocess
import sys

git_diff_output = subprocess.check_output(
	"git diff --name-only --diff-filter=ACM", universal_newlines=True)
git_diff_lines = git_diff_output.split("\n")

for file_name in git_diff_lines:
	if not file_name:
		continue
	print "Checking style for %s" %file_name
	ret_value = subprocess.call(
		"python 3rdparty/styleguide/cpplint/cpplint.py --filter="
		"-build/include_order,-legal/copyright %s"
		%file_name, stderr=subprocess.STDOUT)
	if ret_value != 0:
		sys.exit(ret_value)
sys.exit(0)<commit_msg>Don't check include guards in style (using pragma now).<commit_after>import subprocess
import sys

git_diff_output = subprocess.check_output(
	"git diff --name-only --diff-filter=ACM", universal_newlines=True)
git_diff_lines = git_diff_output.split("\n")

for file_name in git_diff_lines:
	if not file_name:
		continue
	print "Checking style for %s" %file_name
	ret_value = subprocess.call(
		"python 3rdparty/styleguide/cpplint/cpplint.py --filter="
		"-build/header_guard,-build/include_order,-legal/copyright, %s"
		%file_name, stderr=subprocess.STDOUT)
	if ret_value != 0:
		sys.exit(ret_value)
sys.exit(0)
{'fraction_non_alphanumeric': 0.11927398444252377, 'fraction_numerical': 0.005185825410544511, 'mean_word_length': 5.433333333333334, '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': '5602751', 'n_tokens_mistral': 441, 'n_tokens_neox': 418, 'n_words': 89}