<commit_before># File Hash Checker

import os
import sys
import subprocess

from buildit.cprint import error, warning
from buildit.utils import fix_strings, file_hash, error_lookup

class HashDB(object):

    def __init__(self, hash_name):
        self.name = hash_name
        self.depsdb = DepsDB(self.name)
        self.__location = '.buildit/{0}'.format(self.name)
        self.__file = None
        self.__dict = []
        self.__compile_list = []
        self.__run()

    def __run(self):
        try:
            os.makedirs('.buildit')
            if sys.platform == 'win32':
                subprocess.call('attrib +h .buildit')<commit_msg>Removed some unnecessary calls to a depsdb in hashdb.<commit_after># File Hash Checker

import os
import sys
import subprocess

from buildit.cprint import error, warning
from buildit.utils import fix_strings, file_hash, error_lookup

class HashDB(object):

    def __init__(self, name):
        self.name = name
        self.__location = '.buildit/{0}'.format(self.name)
        self.__file = None
        self.__dict = []
        self.__compile_list = []
        self.__run()

    def __run(self):
        try:
            os.makedirs('.buildit')
            if sys.platform == 'win32':
                subprocess.call('attrib +h .buildit')
{'fraction_non_alphanumeric': 0.10681114551083591, 'fraction_numerical': 0.0046439628482972135, 'mean_word_length': 2.411609498680739, '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': '2048564', 'n_tokens_mistral': 393, 'n_tokens_neox': 384, 'n_words': 99}