forked from github/pelican
Fixes in files for ruff T201, RUF001, PLR2004, B904, SLOT000, PYI024, PIE800
This commit is contained in:
parent
fc45791da4
commit
82b48fcfa1
8 changed files with 18 additions and 20 deletions
|
|
@ -29,7 +29,7 @@ source_suffix = ".rst"
|
|||
master_doc = "index"
|
||||
project = project_data.get("name").upper()
|
||||
year = datetime.datetime.now().date().year
|
||||
copyright = f"2010–{year}"
|
||||
copyright = f"2010–{year}" # noqa: RUF001
|
||||
exclude_patterns = ["_build"]
|
||||
release = project_data.get("version")
|
||||
version = ".".join(release.split(".")[:1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue