<commit_before>from lib.settings_base import *

# We'll soon need a `settings_test_mkt` to override this.
APP_PREVIEW = True

# So temporary. Allow us to link to new devhub URLs from `Addon.get_dev_url()`.
MARKETPLACE = True

ROOT_URLCONF = 'mkt.urls'
TEMPLATE_DIRS += (path('mkt/templates'),)
INSTALLED_APPS += (
    'mkt.site',
    'mkt.developers',
    'mkt.hub',
    'mkt.submit',
    'mkt.experiments',
)
SUPPORTED_NONAPPS += (
    'dev',
    'hub',
    'submit',
)

TEMPLATE_CONTEXT_PROCESSORS = list(TEMPLATE_CONTEXT_PROCESSORS)
TEMPLATE_CONTEXT_PROCESSORS.remove('amo.context_processors.global_settings')
TEMPLATE_CONTEXT_PROCESSORS += [
    'mkt.site.context_processors.global_settings',
    'mkt.experiments.context_processors.fragment',
]

# Tests.
NOSE_ARGS = [
    '--with-fixture-bundling',
    '--exclude=default/*',
]

NO_ADDONS_MODULES = (
    'addons.views',
    'devhub.views.dashboard',  # The apps dashboard is a different view.
    'devhub.views.submit',  # Addon submit not ok, app submit a-ok.
    'browse.views.personas',
    'browse.views.extensions',
    'browse.views.language_tools',
    'browse.views.themes',
)

# Next level, no consumer for you!
NO_CONSUMER_MODULES = (
    'api',
    'bandwagon.views',
    'browse.views',
    'compat.views',
    'discovery.views',
    'editors.views',
    'files.views',
    'market.views',
    'piston',<commit_msg>Exclude devhub tests in mkt settings<commit_after>from lib.settings_base import *

# We'll soon need a `settings_test_mkt` to override this.
APP_PREVIEW = True

# So temporary. Allow us to link to new devhub URLs from `Addon.get_dev_url()`.
MARKETPLACE = True

ROOT_URLCONF = 'mkt.urls'
TEMPLATE_DIRS += (path('mkt/templates'),)
INSTALLED_APPS += (
    'mkt.site',
    'mkt.developers',
    'mkt.hub',
    'mkt.submit',
    'mkt.experiments',
)
SUPPORTED_NONAPPS += (
    'dev',
    'hub',
    'submit',
)

TEMPLATE_CONTEXT_PROCESSORS = list(TEMPLATE_CONTEXT_PROCESSORS)
TEMPLATE_CONTEXT_PROCESSORS.remove('amo.context_processors.global_settings')
TEMPLATE_CONTEXT_PROCESSORS += [
    'mkt.site.context_processors.global_settings',
    'mkt.experiments.context_processors.fragment',
]

# Tests.
NOSE_ARGS = [
    '--with-fixture-bundling',
    # exclude is a regex that operates on the basename of the test file (or
    # directory) or the class / method name of the test.
    '--exclude=devhub',  # replaced by mkt.developers
]

NO_ADDONS_MODULES = (
    'addons.views',
    'devhub.views.dashboard',  # The apps dashboard is a different view.
    'devhub.views.submit',  # Addon submit not ok, app submit a-ok.
    'browse.views.personas',
    'browse.views.extensions',
    'browse.views.language_tools',
    'browse.views.themes',
)

# Next level, no consumer for you!
NO_CONSUMER_MODULES = (
    'api',
    'bandwagon.views',
    'browse.views',
    'compat.views',
    'discovery.views',
    'editors.views',
    'files.views',
    'market.views',
    'piston',
{'fraction_non_alphanumeric': 0.13690274483226025, 'fraction_numerical': 0.0, 'mean_word_length': 3.708133971291866, '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': '6151228', 'n_tokens_mistral': 1100, 'n_tokens_neox': 1077, 'n_words': 208}