diff options
author | Cody Hiar <cody@hiar.ca> | 2023-05-05 11:19:58 -0600 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2023-05-05 11:19:58 -0600 |
commit | f25dfe3271dab75148abbf36d1d46e51231962f8 (patch) | |
tree | 373d17fc6367120c772ddb7ab15eb0481736794f | |
parent | 2f32816e500791df33e56edc50a329ef181f3fa7 (diff) |
-rw-r--r-- | hooks/pre_gen_project.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/hooks/pre_gen_project.py b/hooks/pre_gen_project.py deleted file mode 100644 index f195d6a..0000000 --- a/hooks/pre_gen_project.py +++ /dev/null @@ -1,8 +0,0 @@ -"""Validate the project was created correctly.""" -import sys - -project_name = '{{ cookiecutter.project_name }}' - -if '-' in project_name: - print('ERROR: Project shortname cannot contain dashes, please use underscores') - sys.exit(1) |