Skip to content

Commit 683fdec

Browse files
committed
update and add TODO notes
1 parent 2a0c4ac commit 683fdec

7 files changed

Lines changed: 47 additions & 6 deletions

File tree

src/features/creators/templates/newPackageTemplate/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ MANIFEST
3131

3232

3333
.pytest_cache/
34+
35+
# TODO: add other files and folders to ignore if needed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"python.testing.pytestArgs": [
3-
"tests"
4-
],
2+
"python.testing.pytestArgs": ["tests"],
53
"python.testing.unittestEnabled": false,
64
"python.testing.pytestEnabled": true
75
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Project Name
2+
3+
> TODO: Write a short description of your project and what it does.
4+
5+
## Table of Contents
6+
7+
- [Project Name](#project-name)
8+
- [Table of Contents](#table-of-contents)
9+
- [How to Run](#how-to-run)
10+
- [How to Package](#how-to-package)
11+
- [How to Test](#how-to-test)
12+
- [Setup for New Contributors](#setup-for-new-contributors)
13+
- [License](#license)
14+
15+
## How to Run
16+
17+
> TODO: Describe how to use or run your package, with example commands or code.
18+
19+
20+
## How to Package
21+
22+
> TODO: Explain how to build and distribute the package (e.g., using setuptools, poetry, etc.).
23+
24+
25+
## How to Test
26+
Tests are stored in the `tests` folder. Tests can be run using pytest with the following command:
27+
`<run_exec> pytest`
28+
29+
## Setup for New Contributors
30+
31+
> TODO: List steps for a new developer to get started.
32+
1.
33+
34+
## License
35+
36+
> TODO: State your license (e.g., MIT, Apache 2.0).
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pytest
22
setuptools
3-
wheel
3+
wheel
4+
# TODO: update the necessary requirements to develop this package

src/features/creators/templates/newPackageTemplate/package_name/__main__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# TODO: Update the main function to your needs or remove it.
2+
3+
14
def main() -> None:
25
print("Start coding in Python today!")
36

src/features/creators/templates/newPackageTemplate/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
2-
name = "Package Template"
2+
name = "package_name"
33
version = "1.0.0"
4-
description = "A Python package template."
4+
description = TODO: Add a short description of your package
55
readme = "README.md"
66

77
requires-python = ">=3.8"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# TODO: Write tests for your package using pytest

0 commit comments

Comments
 (0)