<commit_before>#! /bin/bash

set -e

# Unset any PERU_* environment variables, to avoid messing up tests.
for var in `env | grep PERU_ | cut -d = -f 1` ; do
  unset $var
done

python3 -m unittest discover --start peru<commit_msg>run flake8 as part of test.sh<commit_after>#! /bin/bash

set -e

# Unset any PERU_* environment variables, to avoid messing up tests.
for var in `env | grep PERU_ | cut -d = -f 1` ; do
  unset $var
done

python3 -m unittest discover --start peru

flake8 $(find peru -name '*.py')
{'fraction_non_alphanumeric': 0.11220472440944881, 'fraction_numerical': 0.011811023622047244, 'mean_word_length': 3.277310924369748, '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': '428194', 'n_tokens_mistral': 191, 'n_tokens_neox': 186, 'n_words': 77}