mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Code changes for more ruff checks
This commit is contained in:
parent
b6d3b65899
commit
9d30c5608a
5 changed files with 19 additions and 21 deletions
|
|
@ -223,7 +223,7 @@ def read_settings(
|
|||
# parameters to docutils directive handlers, so we have to have a
|
||||
# variable here that we'll import from within Pygments.run (see
|
||||
# rstdirectives.py) to see what the user defaults were.
|
||||
global PYGMENTS_RST_OPTIONS
|
||||
global PYGMENTS_RST_OPTIONS # noqa: PLW0603
|
||||
PYGMENTS_RST_OPTIONS = settings.get("PYGMENTS_RST_OPTIONS", None)
|
||||
return settings
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue