1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/tools
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
..
templates tasks.py.jinja2: optimize imports 2024-08-04 22:39:50 +09:00
__init__.py move tools in pelican.tools and add the pelican.tools package to setup.py 2012-03-16 18:53:08 +00:00
pelican_import.py ruff UP031 in files: use format specifiers instead of percent format 2024-06-01 16:00:17 -05:00
pelican_quickstart.py ruff UP031 in files: use format specifiers instead of percent format 2024-06-01 16:00:17 -05:00
pelican_themes.py The ruff and ruff-format fixes 2024-05-30 09:08:16 -05:00