<commit_before>"""Mel - a command-line utility to help with mole management."""


import argparse
import sys


OLD_PYTHON_MESSAGE = """You are running mel on an old Python interpreter

Unfortunately Frobulator 6.0 and above are not compatible with Python < 3.6
anymore, and you still ended up with this version installed on your system.
Make sure you have pip >= 9.0 to avoid this kind of issues, as well as
setuptools >= 24.2:

 $ pip install pip setuptools --upgrade

Upgrade your system to use Python 3.6 or later to run this version of mel.

"""

if sys.version_info < (3, 6):
    raise ImportError(OLD_PYTHON_MESSAGE)


# note that we do this to ignore warnings about top-level imports not being at
# the top of the file - noqa: E402

import mel.cmd.addcluster  # noqa: E402
import mel.cmd.addsingle  # noqa: E402
import mel.cmd.error  # noqa: E402
import mel.cmd.list  # noqa: E402
import mel.cmd.microadd  # noqa: E402
import mel.cmd.microcompare  # noqa: E402
import mel.cmd.microview  # noqa: E402
import mel.cmd.rotomapautomark  # noqa: E402
import mel.cmd.rotomapautomask  # noqa: E402
import mel.cmd.rotomapcalcspace  # noqa: E402
import mel.cmd.rotomapcompare  # noqa: E402
import mel.cmd.rotomapconfirm  # noqa: E402
import mel.cmd.rotomapedit  # noqa: E402
import mel.cmd.rotomapfiltermarks  # noqa: E402
import mel.cmd.rotomapfiltermarkspretrain  # noqa: E402
import mel.cmd.rotomapfiltermarkstrain  # noqa: E402
import mel.cmd.rotomapidentify  # noqa: E402
import mel.cmd.rotomapidentifytrain  # noqa: E402
import mel.cmd.rotomaplist  # noqa: E402
import mel.cmd.rotomaploadsave  # noqa: E402
import mel.cmd.rotomapmarkunchanged  # noqa: E402
import mel.cmd.rotomapmontagesingle  # noqa: E402
import mel.cmd.rotomaporganise  # noqa: E402
import mel.cmd.rotomaprm  # noqa: E402
import mel.cmd.rotomapuuid  # noqa: E402
import mel.cmd.status  # noqa: E402


COMMANDS = {
    "root": {
        "status": mel.cmd.status,
    },
    "micro": {
        "add-cluster": mel.cmd.addcluster,
        "add-single": mel.cmd.addsingle,
        "list": mel.cmd.list,
        "add": mel.cmd.microadd,
        "compare": mel.cmd.microcompare,
        "view": mel.cmd.microview,
    },
    "rotomap": {
        "automark": mel.cmd.rotomapautomark,
        "automask": mel.cmd.rotomapautomask,
        "calc-space": mel.cmd.rotomapcalcspace,
        "compare": mel.cmd.rotomapcompare,
        "confirm": mel.cmd.rotomapconfirm,<commit_msg>mel.cmd.mel: rm old python error - setup.py checks<commit_after>"""Mel - a command-line utility to help with mole management."""


import argparse
import sys

import mel.cmd.addcluster
import mel.cmd.addsingle
import mel.cmd.error
import mel.cmd.list
import mel.cmd.microadd
import mel.cmd.microcompare
import mel.cmd.microview
import mel.cmd.rotomapautomark
import mel.cmd.rotomapautomask
import mel.cmd.rotomapcalcspace
import mel.cmd.rotomapcompare
import mel.cmd.rotomapconfirm
import mel.cmd.rotomapedit
import mel.cmd.rotomapfiltermarks
import mel.cmd.rotomapfiltermarkspretrain
import mel.cmd.rotomapfiltermarkstrain
import mel.cmd.rotomapidentify
import mel.cmd.rotomapidentifytrain
import mel.cmd.rotomaplist
import mel.cmd.rotomaploadsave
import mel.cmd.rotomapmarkunchanged
import mel.cmd.rotomapmontagesingle
import mel.cmd.rotomaporganise
import mel.cmd.rotomaprm
import mel.cmd.rotomapuuid
import mel.cmd.status


COMMANDS = {
    "root": {
        "status": mel.cmd.status,
    },
    "micro": {
        "add-cluster": mel.cmd.addcluster,
        "add-single": mel.cmd.addsingle,
        "list": mel.cmd.list,
        "add": mel.cmd.microadd,
        "compare": mel.cmd.microcompare,
        "view": mel.cmd.microview,
    },
    "rotomap": {
        "automark": mel.cmd.rotomapautomark,
        "automask": mel.cmd.rotomapautomask,
        "calc-space": mel.cmd.rotomapcalcspace,
        "compare": mel.cmd.rotomapcompare,
        "confirm": mel.cmd.rotomapconfirm,
{'fraction_non_alphanumeric': 0.10436335799948966, 'fraction_numerical': 0.023985710640469508, 'mean_word_length': 3.5794392523364484, 'pattern_counts': {'":': 30, '<': 5, '<?xml version=': 0, '>': 5, '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': '1402935', 'n_tokens_mistral': 1439, 'n_tokens_neox': 1355, 'n_words': 341}