Commit c025933d authored by Louis Paternault's avatar Louis Paternault

pylint

parent 90acbd27
Pipeline #94177 passed with stage
in 1 minute and 14 seconds
...@@ -2,4 +2,7 @@ ...@@ -2,4 +2,7 @@
dummy-variables-rgx=_|dummy dummy-variables-rgx=_|dummy
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable=logging-format-interpolation, I disable=
logging-format-interpolation,
unnecessary-pass,
I
...@@ -260,6 +260,7 @@ def latex_preamble(config): ...@@ -260,6 +260,7 @@ def latex_preamble(config):
def generate_latex_preamble(app, config): def generate_latex_preamble(app, config):
"""Hook called when builder has been inited.""" """Hook called when builder has been inited."""
# pylint: disable=unused-argument
if "preamble" not in config.latex_elements: if "preamble" not in config.latex_elements:
config.latex_elements["preamble"] = "" config.latex_elements["preamble"] = ""
config.latex_elements["preamble"] += latex_preamble(config) config.latex_elements["preamble"] += latex_preamble(config)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment