<commit_before>#!/bin/sh

# Copyright 2013 tsuru authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

status=0

for email in `git log --format=%ae | sort | uniq`
do
	grep -q $email CONTRIBUTORS
	if [ $? != 0  ]
	then
		echo "ERROR: $email is not in the CONTRIBUTORS file."
		status=1
	fi
done

exit $status<commit_msg>misc/check-contributors: ignore local user<commit_after>#!/bin/sh

# Copyright 2013 tsuru authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

status=0

for email in `git log --format=%ae | sort | uniq | grep -v <EMAIL>`
do
	grep -q $email CONTRIBUTORS
	if [ $? != 0  ]
	then
		echo "ERROR: $email is not in the CONTRIBUTORS file."
		status=1
	fi
done

exit $status
{'fraction_non_alphanumeric': 0.09845788849347568, 'fraction_numerical': 0.0166073546856465, 'mean_word_length': 3.4656084656084656, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4008527', 'n_tokens_mistral': 305, 'n_tokens_neox': 276, 'n_words': 121}