aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2018-07-13 10:35:21 -0600
committerCody Hiar <codyfh@gmail.com>2018-07-13 10:35:21 -0600
commit300cdc5a32207bc73b4aeee16e55043b61fabe43 (patch)
tree140a1851caad7394e21f7d711b5aff4c1e8004ab
parentb017993bc6f01d71eca66441217a5f3c236500d7 (diff)
One more fix
-rw-r--r--.gitignore1
-rw-r--r--hooks/pre_gen_project.py3
2 files changed, 4 insertions, 0 deletions
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: