<commit_before>#!/usr/bin/env python3
import os
import sys


def main():
    try:
        from pip._internal import main as pip_main
    except ModuleNotFoundError:
        from pip import main as pip_main
    install_command = ['install', "-U"]
    if os.geteuid() != 0:
        print("The current user is not root and is installed in user mode.")
        install_command.append("--user")
    if sys.version_info < (3, 4):
        print("Current python version is lower than 3.4, need to install asyncio.")
        install_command.append("asyncio")
    install_qrcode_dependency = "n"
    try:
        install_qrcode_dependency = str(input("Do you want to install [qrcode_terminal] to support QR code login? (y/N)"))
    except EOFError:
        print("N")
        pass
    if install_qrcode_dependency.lower() == 'y':
        install_command.append("qrcode_terminal")
    install_command.extend(["Flask", "hoedown", "xpinyin", "pyrss2gen", "gitpython", "requests", "watchdog"])
    pip_main(install_command)



if __name__ == '__main__':
    main()<commit_msg>移除pass<commit_after>#!/usr/bin/env python3
import os
import sys


def main():
    try:
        from pip._internal import main as pip_main
    except ModuleNotFoundError:
        from pip import main as pip_main
    install_command = ['install', "-U"]
    if os.geteuid() != 0:
        print("The current user is not root and is installed in user mode.")
        install_command.append("--user")
    if sys.version_info < (3, 4):
        print("Current python version is lower than 3.4, need to install asyncio.")
        install_command.append("asyncio")
    install_qrcode_dependency = "n"
    try:
        install_qrcode_dependency = str(input("Do you want to install [qrcode_terminal] to support QR code login? (y/N)"))
    except EOFError:
        print("N")
    if install_qrcode_dependency.lower() == 'y':
        install_command.append("qrcode_terminal")
    install_command.extend(["Flask", "hoedown", "xpinyin", "pyrss2gen", "gitpython", "requests", "watchdog"])
    pip_main(install_command)



if __name__ == '__main__':
    main()
{'fraction_non_alphanumeric': 0.12167300380228137, 'fraction_numerical': 0.006653992395437262, 'mean_word_length': 3.2611336032388665, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3197043', 'n_tokens_mistral': 676, 'n_tokens_neox': 640, 'n_words': 186}