We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cookiecutter templates use jinja templating syntax in a python file to import the template package:
cookiecutter
jinja
e.g.
import {{ cookiecutter\.project_slug }}
Even with a # nopycln: import, pycln errors when run because the above is invalid syntax in python:
# nopycln: import
pycln
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
cookiecutter
templates usejinja
templating syntax in a python file to import the template package:e.g.
Even with a
# nopycln: import
,pycln
errors when run because the above is invalid syntax in python:Is there a way to completely ignore this line when parsing? My only other option at this point is to exclude the entire file.
The text was updated successfully, but these errors were encountered: