Cookiecutter Google Function
Cookiecutter template for a Google Function. Powered by Poetry, and GitHub actions.
Quickstart
Install the latest Cookiecutter if you haven't installed it yet (this requires Cookiecutter 1.4.0
or higher):
$ pip install -U cookiecutter>=1.4.0
Generate a Python project:
$ cookiecutter https://github.com/askarthur/cookiecutter-cloudfunctions.git
Features
This template has the following features:
pytest
: Unit and coverage testingflake8
andpylint
: Python style checksblack
: Auto-formatted codemypy
: Type checkingPoetry
: Depedency managemnt and packagingGitHub Actions
: Automated CI checks, auto-release to PyPi, and automated version bumping (no more Travis needed)
Documentation
For further documentation on how to create and connect to your repository as well as deploy to GCP, visit the official docs