Coverage for .nox/test-3-9/lib/python3.9/site-packages/nskit/recipes/python/package.py: 0%

6 statements  

« prev     ^ index     » next       coverage.py v7.4.2, created at 2024-02-25 17:38 +0000

1"""Package Recipe.""" 

2from typing import List, Union 

3 

4from pydantic import Field 

5 

6from nskit.mixer import File, Folder, LicenseFile 

7from nskit.recipes.python import ingredients, PyRecipe 

8 

9 

10class PackageRecipe(PyRecipe): 

11 """Package Recipe.""" 

12 

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 LicenseFile() 

24 ], 

25 description='The folder contents')