<commit_before>#!/usr/bin/env python

""" Attempts to check the sanity of your environment """

import os

#VARS_EXCEPTIONS = ["MANDATORY_PATH", "GPG_AGENT_INFO", "XDG_CONFIG_DIRS", "DEFAULTS_PATH", "XDG_DATA_DIRS"] # my mint 17 had these undefined in mid-2015 (mv)
VARS_EXCEPTIONS = []

def is_sane(var, val):

    if var in VARS_EXCEPTIONS:
        return True<commit_msg>turning on envvar sanitisation exceptions for my main linux box<commit_after>#!/usr/bin/env python

""" Attempts to check the sanity of your environment """

import os

VARS_EXCEPTIONS = ["MANDATORY_PATH", "GPG_AGENT_INFO", "XDG_CONFIG_DIRS", "DEFAULTS_PATH", "XDG_DATA_DIRS"] # my mint 17 had these undefined in mid-2015 (mv)
#VARS_EXCEPTIONS = []

def is_sane(var, val):

    if var in VARS_EXCEPTIONS:
        return True
{'fraction_non_alphanumeric': 0.11027568922305764, 'fraction_numerical': 0.015037593984962405, 'mean_word_length': 4.875, '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': '1261169', 'n_tokens_mistral': 313, 'n_tokens_neox': 278, 'n_words': 82}