Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw committed May 16, 2024
1 parent f0141af commit 8b02119
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sphinxcontrib/katex.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,8 @@ def build_command(cls, socket=None, port=None):
katex_path = os.path.join("./", katex_path)
if not os.path.exists(os.path.join(SRC_DIR, katex_path)):
raise ValueError(
f"KaTeX Javascript library could not be found at {katex_path}."
"KaTeX Javascript library could not be found "
f"at {katex_path}."
)
katex_path = katex_path[:-3] # remove `.js`
cmd.extend(["--katex", katex_path])
Expand Down
2 changes: 1 addition & 1 deletion tests/test_katex_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_katex_server_js_path(katex_js_path, expected_require_path):
specified in the config value ``katex_js_path``.
Args:
kates_js_path: path specified for the ``katex_js_path``
katex_js_path: path specified for the ``katex_js_path``
config path variable
expected_require_path: expected path
to the KaTeX Javascript library as provided
Expand Down

0 comments on commit 8b02119

Please sign in to comment.