-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
Description
cookiecutter
templates use jinja
templating syntax in a python file to import the template package:
e.g.
import {{ cookiecutter\.project_slug }}
Even with a # nopycln: import
, pycln
errors when run because the above is invalid syntax in python:
SyntaxError: invalid syntax 'import {{ cookiecutter.project_slug }}'
Is there a way to completely ignore this line when parsing? My only other option at this point is to exclude the entire file.