1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/tools/templates
Agathe Porte 2d375bc135 tasks.py.jinja2: optimize imports
When opening the generated tasks.py file with a Python linter enabled,
some imports will be marked as unecessary depending on the options
passed to pelican-quickstart.

Add if statements around the optional imports so they are used
only when necessary.
2024-08-04 22:39:50 +09:00
..
Makefile.jinja2 Use --no-jekyll flag when invoking ghp-import (#3259) 2024-01-15 11:10:12 +01:00
pelicanconf.py.jinja2 Fix #2888 -- Apply ruff and pyupgrade to templates 2023-11-12 15:06:02 +01:00
publishconf.py.jinja2 Fix #2888 -- Apply ruff and pyupgrade to templates 2023-11-12 15:06:02 +01:00
tasks.py.jinja2 tasks.py.jinja2: optimize imports 2024-08-04 22:39:50 +09:00