Development
Please develop inside the container, this will ensure all the required checks (pylint
& mypy
) as well as formatting (black
)
If you are not familiar with devcontainers, read Developing inside a Container first
- Clone this repository
- open dir in VS Code
vscode .
- rebuild and reopen in container (you'll need
Dev Containers
extension)
note: if a container with devcontainer
name already exists, an error will occur. You can remove it with
docker container prune -f
What goes where
gitlab-ci.yml
- gitlab ci scriptdocker/
docker files for dev environmentsetup.py
- main packge setup file (cli scripts, dependencies etc.)docs
- documentation, uses mkdocsinstall
- scripts for preparing host systemexamples
- various code examples
Version control
use bumpversion major/minor/patch
to update version number.
Documentation
The documentation is automatically generated from the content of the docs directory and from the docstrings of the public signatures of the source code.
Documentation can be built and served locally with serve_docs.sh
script.
note: pyreverse
creates images of packages and classes in docs/uml/..
Pre-commit
optional. Add precommit install
to init_container.sh
if required.
This project was forked from cookiecutter template template.