This is a cookiecutter repo to bootstrap Python projects - either an installable package or an AWS Lambda.
- Could be either a lambda or a standard python package
- CI ready - see README.md in generated repo
tox
manages testing and releasingpytest
test runner- Coverage reporting and enforcement
- Enforce
black
formatting - Enforce
flake8
Install cookiecutter
and tox
:
pip install cookiecutter tox
You might need to run a pyenv rehash so the command-line utils become available:
pyenv rehash
Generate a new Cookiecutter template layout:
cookiecutter gh:hmrc/python-cookiecutter
There's a miniature test suite that can be run before merging changes:
cd tests/
./test.sh
This code is open source software licensed under the Apache 2.0 License.