From 300cdc5a32207bc73b4aeee16e55043b61fabe43 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 13 Jul 2018 10:35:21 -0600 Subject: One more fix --- .gitignore | 1 + hooks/pre_gen_project.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index ce3ed24..b335ce1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .vimcache +.mypy_cache diff --git a/hooks/pre_gen_project.py b/hooks/pre_gen_project.py index 93f277e..f195d6a 100644 --- a/hooks/pre_gen_project.py +++ b/hooks/pre_gen_project.py @@ -1,3 +1,6 @@ +"""Validate the project was created correctly.""" +import sys + project_name = '{{ cookiecutter.project_name }}' if '-' in project_name: -- cgit v1.2.3