<commit_before>#!/bin/bash
WHITE=$(tput setaf 7)
NORMAL=$(tput sgr0)

noflow=$(git ls-files | egrep '^src.*\.jsx?$' | grep -v 'test' | xargs grep --files-without-match '@flow')
if [ -n "$noflow" ]; then
  echo "These files are missing ${WHITE}@flow${NORMAL} annotations:"
  echo "$noflow"
  exit 1
fi<commit_msg>flow ignore config<commit_after>#!/bin/bash
WHITE=$(tput setaf 7)
NORMAL=$(tput sgr0)

noflow=$(git ls-files | egrep '^src.*\.jsx?$' | grep -v 'test' | grep -v 'config' | xargs grep --files-without-match '@flow')
if [ -n "$noflow" ]; then
  echo "These files are missing ${WHITE}@flow${NORMAL} annotations:"
  echo "$noflow"
  exit 1
fi
{'fraction_non_alphanumeric': 0.19753086419753085, 'fraction_numerical': 0.009259259259259259, 'mean_word_length': 4.408333333333333, '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': '5809748', 'n_tokens_mistral': 269, 'n_tokens_neox': 253, 'n_words': 70}