diff options
Diffstat (limited to 'hooks/pre_gen_project.py')
-rw-r--r-- | hooks/pre_gen_project.py | 3 |
1 files changed, 3 insertions, 0 deletions
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: |