<commit_before># global x86_64, hostname_id, distro, network_type, virtualization, gui, develop, monitoring, roles


# pylama:ignore=E0602
def is_x86_64() -> bool:
    return x86_64  # type: ignore


def is_role(name: str) -> bool:
    return name in roles.split(",")  # type: ignore


def is_monitoring(name: str) -> bool:
    return name in monitoring.split(",")  # type: ignore


def is_gui(name: str) -> bool:
    return name in gui.split(",")  # type: ignore


def is_develop(name: str) -> bool:
    return name in develop.split(",")  # type: ignore


def is_network_type(name: str) -> bool:
    return name in network_type.split(",")  # type: ignore


def get_hostname_id() -> bool:
    return hostname_id  # type: ignore


def get_virtualization() -> bool:
    return virtualization  # type: ignore


def system():
    system_pkgs = []

    # utils
    system_pkgs += ["linux",
                    "linux-firmware",
                    "base",
                    "polkit",
                    "gnupg",
                    "wget",
                    "curl",
                    "git",
                    "jq",
                    "rsync",
                    "logrotate",
                    "nano",
                    "vim",
                    "pacutils",
                    "pkgfile",  # pkgfile makepkg (get package for makepkg)
                    "dialog",
                    "libnewt",  # external dialog
                    "inetutils",  # for set hostname (crazy ansible code)
                    "man-db"]

    # ansible
    system_pkgs += ["ansible", "python", "python-lxml"]

    # terminal
    system_pkgs += ["fd",  # fast find alternative
                    "exa",  # ls alternative
                    "ncdu",  # disk usage analyzer
                    "zsh",
                    "fzf"]

    if not is_gui("none"):
        system_pkgs += ["urxvt-perls",
                        "bitwarden-cli"]
<commit_msg>fix terminal hotkeys<commit_after># global x86_64, hostname_id, distro, network_type, virtualization, gui, develop, monitoring, roles


# pylama:ignore=E0602
def is_x86_64() -> bool:
    return x86_64  # type: ignore


def is_role(name: str) -> bool:
    return name in roles.split(",")  # type: ignore


def is_monitoring(name: str) -> bool:
    return name in monitoring.split(",")  # type: ignore


def is_gui(name: str) -> bool:
    return name in gui.split(",")  # type: ignore


def is_develop(name: str) -> bool:
    return name in develop.split(",")  # type: ignore


def is_network_type(name: str) -> bool:
    return name in network_type.split(",")  # type: ignore


def get_hostname_id() -> bool:
    return hostname_id  # type: ignore


def get_virtualization() -> bool:
    return virtualization  # type: ignore


def system():
    system_pkgs = []

    # utils
    system_pkgs += ["linux",
                    "linux-firmware",
                    "base",
                    "polkit",
                    "gnupg",
                    "wget",
                    "curl",
                    "git",
                    "jq",
                    "rsync",
                    "logrotate",
                    "nano",
                    "vim",
                    "pacutils",
                    "pkgfile",  # pkgfile makepkg (get package for makepkg)
                    "dialog",
                    "libnewt",  # external dialog
                    "inetutils",  # for set hostname (crazy ansible code)
                    "man-db"]

    # ansible
    system_pkgs += ["ansible", "python", "python-lxml"]

    # terminal
    system_pkgs += ["fd",  # fast find alternative
                    "exa",  # ls alternative
                    "ncdu",  # disk usage analyzer
                    "zsh",
                    "fzf"]

    if not is_gui("none"):
        system_pkgs += ["urxvt-perls",
                        "bitwarden-cli"]
    else:
        system_pkgs += ["rxvt-unicode-terminfo"]

{'fraction_non_alphanumeric': 0.12112747587607922, 'fraction_numerical': 0.008125952260030472, 'mean_word_length': 1.5266196279666453, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5490307', 'n_tokens_mistral': 1223, 'n_tokens_neox': 1131, 'n_words': 299}