project_slug = '{{ cookiecutter.project_slug }}'

print('pre gen')

if hasattr(project_slug, 'isidentifier'):
    assert project_slug.isidentifier(), 'Project slug should be valid Python identifier!'

project_slug = '{{ cookiecutter.project_slug }}'


if hasattr(project_slug, 'isidentifier'):
    assert project_slug.isidentifier(), 'Project slug should be valid Python identifier!'

Fix a typo in the pre-generation hooks
Fix a typo in the pre-generation hooks

  project_slug = '{{ cookiecutter.project_slug }}'
  
- print('pre gen')
  
  if hasattr(project_slug, 'isidentifier'):
      assert project_slug.isidentifier(), 'Project slug should be valid Python identifier!'
  
Fix a typo in the pre-generation hooks
## Code Before:
project_slug = '{{ cookiecutter.project_slug }}'

print('pre gen')

if hasattr(project_slug, 'isidentifier'):
    assert project_slug.isidentifier(), 'Project slug should be valid Python identifier!'

## Instruction:
Fix a typo in the pre-generation hooks
## Code After:
project_slug = '{{ cookiecutter.project_slug }}'


if hasattr(project_slug, 'isidentifier'):
    assert project_slug.isidentifier(), 'Project slug should be valid Python identifier!'
