Coverage for .nox/test-3-12/lib/python3.12/site-packages/nskit/recipes/python/package.py: 0%
6 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"""Package Recipe."""
2from typing import List, Union
4from pydantic import Field
6from nskit.mixer import File, Folder
7from nskit.recipes.python import ingredients, PyRecipe
10class PackageRecipe(PyRecipe):
11 """Package Recipe."""
13 contents: List[Union[File, Folder]] = Field(
14 [
15 ingredients.gitignore,
16 ingredients.noxfile,
17 ingredients.pre_commit,
18 ingredients.pyproject_toml,
19 ingredients.readme_md,
20 ingredients.test_dir,
21 ingredients.src_dir,
22 ingredients.docs_dir
23 ],
24 description='The folder contents')