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
There are instances where we want to align an existing, relatively mature project to the template. This requires some careful transplanting work to which we'd benefit from documenting an approach.
E.g.,
Create a dummy local repo in some other place on your device using the template tutorial steps.
Copy across the parts of the "clean" repo one by one, aligning as you go.
Likely start by moving the source code into one place (src/[module-name]), then the test folder, then the requirements directory and pyproject.toml (update requirements/base.yaml to include your project requirements). Hopefully that will be enough to start running tests to make sure everything still works.
Move docs/ and mkdocs.yml to start re-constructing the docs.
Any scripts with if __name__ == "__main__" calls should be in src/[module-name]/cli.py as command-line interface commands.
Any example Jupyter Notebook scripts should be in examples.
Related links
Version
v0.2.0
Proposed change
No response
The text was updated successfully, but these errors were encountered:
Description
There are instances where we want to align an existing, relatively mature project to the template. This requires some careful transplanting work to which we'd benefit from documenting an approach.
E.g.,
docs/
andmkdocs.yml
to start re-constructing the docs.if __name__ == "__main__"
calls should be insrc/[module-name]/cli.py
as command-line interface commands.examples
.Related links
Version
v0.2.0
Proposed change
No response
The text was updated successfully, but these errors were encountered: