Skip to content
Python best practices project cookiecutter πŸͺ
Python
Branch: master
Clone or download
Latest commit 7b78663 Jul 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hooks Initial commit Jul 29, 2019
{{cookiecutter.repo_name}} Initial commit Jul 29, 2019
LICENSE Initial commit Jul 29, 2019
README.md Initial commit Jul 29, 2019
cookiecutter.json Initial commit Jul 29, 2019

README.md

Python Best Practices Cookiecutter

Best practices cookiecutter template as described in this blogpost.

Features

Quickstart

# Install pipx if pipenv and cookiecutter are not installed
python3 -m pip install pipx
python3 -m pipx ensurepath

# Install pipenv using pipx
pipx install pipenv

# Use cookiecutter to create project from this template
pipx run cookiecutter gh:sourceryai/python-best-practices-cookiecutter

# Enter project directory
cd <repo_name>

# Initialise git repo
git init

# Install dependencies
pipenv install --dev

# Setup pre-commit and pre-push hooks
pipenv run pre-commit install -t pre-commit
pipenv run pre-commit install -t pre-push
You can’t perform that action at this time.