You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See: [https://scientificcomputing.github.io/template-repo](https://scientificcomputing.github.io/template-repo) for documentation.
21
+
22
+
# Options for cookiecutter
23
+
The following options are available when using the cookiecutter:
24
+
25
+
1.__Full Name__: Will appear in the `pyproject.toml` file as the author. Will also be used as author of the documentation generated by [jupyter-book](https://scientificcomputing.github.io/reproducibility/part3/publishing.html).
26
+
2.__Email__: Will be used in `pyproject.toml` for package information.
27
+
3.__github\_username__: Will be used to fetch the correct links for the documentation and [license badge](https://scientificcomputing.github.io/reproducibility/part5/badges.html#licence).
28
+
4.__project\_name__: Used in various headers of the documentation
29
+
5.__repository\_name__: Name of the repository
30
+
6.__package\_name__: Name of the python package.
31
+
7.__project\_short\_description__: Using in `pyproject.toml`
32
+
8.__version__: The initial version of the software.
33
+
9.__linting__: Enable linting, i.e. [mypy](https://scientificcomputing.github.io/reproducibility/part1/typing.html) and [flake8](https://scientificcomputing.github.io/reproducibility/part1/linting.html). This also enables the "Check Formatting" Github action.
34
+
10.__testing__: Choose testing framework. If not `none` it creates a test folder with an initial test. Also adds [optional installation dependencies](https://scientificcomputing.github.io/reproducibility/part1/packaging.html#optional-dependencies) to `pyproject.toml`. Creates a "Test Package" Github action. If `pytest-cov` is chosen, it adds settings to generate a coverage report and publsuh them as a [Github artifact](https://scientificcomputing.github.io/reproducibility/part1/coverage.html).
35
+
11.__use\_argparse__: Makes it possible to run the package as `module_name` or `python -m module_name` with inputs from the command line.
36
+
12.__build\_docs__: Build a webpage with documentation (including a package API).
37
+
13.__use_pre_commit__: Set up [pre-commit hooks](https://pre-commit.com) that will run some tests every time you make a commit.
38
+
14.__docker__: Adds a Dockerfile that includes the module (not including optional dependencies). Adds a [publishing workflow](https://scientificcomputing.github.io/reproducibility/part4/docker.html#github-packages).
39
+
15.__open\_source\_license__: Choose a open source license for your code
0 commit comments