From f25dfe3271dab75148abbf36d1d46e51231962f8 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 5 May 2023 11:19:58 -0600 Subject: Remove project name validation hook --- hooks/pre_gen_project.py | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 hooks/pre_gen_project.py (limited to 'hooks') 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) -- cgit v1.2.3