<commit_before>from datetime import datetime
import logging

from path_helpers import path
from pip_helpers import install


if __name__ == '__main__':
    logging.basicConfig(level=logging.INFO)
    logging.info(str(datetime.now()))
    requirements_file = path(__file__).parent.joinpath('requirements.txt')
    if requirements_file.exists():
        logging.info(install(['-U', '-r', requirements_file]))<commit_msg>Remove pip upgrade flag from on_plugin_install.py<commit_after>from datetime import datetime
import logging

from path_helpers import path
from pip_helpers import install


if __name__ == '__main__':
    logging.basicConfig(level=logging.INFO)
    logging.info(str(datetime.now()))
    requirements_file = path(__file__).parent.joinpath('requirements.txt')
    if requirements_file.exists():
        logging.info(install(['-r', requirements_file]))
{'fraction_non_alphanumeric': 0.11200923787528869, 'fraction_numerical': 0.0, 'mean_word_length': 5.4222222222222225, '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': '2013592', 'n_tokens_mistral': 241, 'n_tokens_neox': 244, 'n_words': 55}