More ruff fixes in files: stop ignoring C408, UP007, PLR5501, B006

This commit is contained in:
boxydog 2024-05-30 13:21:12 -05:00
commit 7577dd7603
16 changed files with 72 additions and 82 deletions

View file

@ -72,7 +72,7 @@ class Content:
self._context = context
self.translations = []
local_metadata = dict()
local_metadata = {}
local_metadata.update(metadata)
# set metadata as attributes
@ -357,7 +357,7 @@ class Content:
origin = joiner(siteurl, Author(path, self.settings).url)
else:
logger.warning(
"Replacement Indicator '%s' not recognized, " "skipping replacement",
"Replacement Indicator '%s' not recognized, skipping replacement",
what,
)