Skip to content

Commit 0c9e911

Browse files
committed
ENH: Add a test subpackage
1 parent 90ca272 commit 0c9e911

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ All tasks will be inserted into the `pydra.tasks.<yourtaskpackagename>` namespac
1313
1. One of the folders is called TODO. This should also be renamed to your package
1414
name.
1515
1. Add tasks to the `pydra/tasks/<yourpackagename>` folder.
16+
1. An example subpackage is found in `pydra/tasks/<yourpackagename>/utils`.
17+
You may wish to add tools to it or delete it.
1618
1. You may want to initialize a [Sphinx] docs directory.
1719
1. **Update this README after creating the new repository.**
1820

pydra/tasks/TODO/utils/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"""
2+
This is a basic doctest demonstrating that subpackags can also be
3+
imported.
4+
5+
>>> import pydra.tasks.TODO.utils
6+
"""

0 commit comments

Comments
 (0)