<commit_before># -*- coding: utf-8 -*-

from collections.abc import Sequence, Mapping

str_type = str

import copy
from glob import glob
import io
import itertools
import os
import re
import shutil
import subprocess
import sys

import github

from conda_build.metadata import (
    ensure_valid_license_family,
    FIELDS as cbfields,
)
import conda_build.conda_interface

from .utils import render_meta_yaml, get_yaml


FIELDS = copy.deepcopy(cbfields)

# Just in case 'extra' moves into conda_build
if "extra" not in FIELDS.keys():
    FIELDS["extra"] = set()

FIELDS["extra"].add("recipe-maintainers")

EXPECTED_SECTION_ORDER = [
    "package",
    "source",
    "build",
    "requirements",
    "test",
    "app",<commit_msg>Add feedstock_name to the linter<commit_after># -*- coding: utf-8 -*-

from collections.abc import Sequence, Mapping

str_type = str

import copy
from glob import glob
import io
import itertools
import os
import re
import shutil
import subprocess
import sys

import github

from conda_build.metadata import (
    ensure_valid_license_family,
    FIELDS as cbfields,
)
import conda_build.conda_interface

from .utils import render_meta_yaml, get_yaml


FIELDS = copy.deepcopy(cbfields)

# Just in case 'extra' moves into conda_build
if "extra" not in FIELDS.keys():
    FIELDS["extra"] = set()

FIELDS["extra"].add("recipe-maintainers")
FIELDS["extra"].add("feedstock_name")

EXPECTED_SECTION_ORDER = [
    "package",
    "source",
    "build",
    "requirements",
    "test",
    "app",
{'fraction_non_alphanumeric': 0.10231023102310231, 'fraction_numerical': 0.0013201320132013201, 'mean_word_length': 4.319298245614035, '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': '1046702', 'n_tokens_mistral': 519, 'n_tokens_neox': 514, 'n_words': 144}