diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | hooks/pre_gen_project.py | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -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: |