Drop support for EOL Python 3.8

This commit is contained in:
Hugo van Kemenade 2024-12-21 15:53:13 +02:00
commit 714a3d53a1
9 changed files with 22 additions and 40 deletions

View file

@ -9,7 +9,7 @@ import sys
from os.path import isabs
from pathlib import Path
from types import ModuleType
from typing import Any, Dict, Optional
from typing import Any, Optional
from pelican.log import LimitFilter
@ -24,7 +24,7 @@ def load_source(name: str, path: str) -> ModuleType:
logger = logging.getLogger(__name__)
Settings = Dict[str, Any]
Settings = dict[str, Any]
DEFAULT_THEME = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "themes", "notmyidea"