mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
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. |
||
|---|---|---|
| .. | ||
| templates | ||
| __init__.py | ||
| pelican_import.py | ||
| pelican_quickstart.py | ||
| pelican_themes.py | ||