Coverage for .nox/test-3-12/lib/python3.12/site-packages/nskit/recipes/recipe.py: 0%
7 statements
« prev ^ index » next coverage.py v7.3.3, created at 2023-12-19 17:42 +0000
« prev ^ index » next coverage.py v7.3.3, created at 2023-12-19 17:42 +0000
1"""A Recipe for creating Recipes, meta!"""
2from typing import List, Union
4from pydantic import Field
6from nskit.mixer import File, Folder
7from nskit.recipes.python import ingredients, PyRecipe
8from nskit.recipes.python.ingredients import recipe as recipe_ingredients
11class RecipeRecipe(PyRecipe):
12 """A Recipe for creating Recipes, meta!"""
14 contents: List[Union[File, Folder]] = Field(
15 [
16 ingredients.gitignore,
17 ingredients.noxfile,
18 ingredients.pre_commit,
19 recipe_ingredients.pyproject_toml,
20 recipe_ingredients.readme_md,
21 ingredients.test_dir,
22 recipe_ingredients.src_dir,
23 ingredients.docs_dir
24 ],
25 description='The folder contents')