Skip to content

Commit

Permalink
Fix rstcheck hook (#1584)
Browse files Browse the repository at this point in the history
Signed-off-by: ammar <[email protected]>
  • Loading branch information
ammar92 authored and jpbruinsslot committed Aug 14, 2023
1 parent 4d39b20 commit d055d80
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
hooks:
- id: rstcheck
# https://github.com/rstcheck/rstcheck-core/issues/4
args: ["--ignore-messages", "Hyperlink target .* is not referenced"]
args: ["--ignore-messages", "Hyperlink target .* is not referenced", "--ignore-directives", "mermaid"]
additional_dependencies: ["rstcheck[sphinx]"]

- repo: https://github.com/MarketSquare/robotframework-tidy
Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ build-backend = "poetry.core.masonry.api"
python = "^3.8"
sphinx = "6.1.3"
sphinx_rtd_theme = "1.2.2"
sphinxcontrib-mermaid = "0.8.1"
sphinxcontrib-mermaid = "^0.9.2"
myst-parser = "2.0.0"

[tool.poetry.group.dev.dependencies]
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ sphinxcontrib-jquery==4.1 ; python_version >= "3.8" and python_version < "4.0" \
sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.8" and python_version < "4.0" \
--hash=sha256:2ec2eaebfb78f3f2078e73666b1415417a116cc848b72e5172e596c871103178 \
--hash=sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8
sphinxcontrib-mermaid==0.8.1 ; python_version >= "3.8" and python_version < "4.0" \
--hash=sha256:15491c24ec78cf1626b1e79e797a9ce87cb7959cf38f955eb72dd5512aeb6ce9 \
--hash=sha256:fa3e5325d4ba395336e6137d113f55026b1a03ccd115dc54113d1d871a580466
sphinxcontrib-mermaid==0.9.2 ; python_version >= "3.8" and python_version < "4.0" \
--hash=sha256:252ef13dd23164b28f16d8b0205cf184b9d8e2b714a302274d9f59eb708e77af \
--hash=sha256:6795a72037ca55e65663d2a2c1a043d636dc3d30d418e56dd6087d1459d98a5d
sphinxcontrib-qthelp==1.0.3 ; python_version >= "3.8" and python_version < "4.0" \
--hash=sha256:4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72 \
--hash=sha256:bd9fc24bcb748a8d51fd4ecaade681350aa63009a347a8c14e637895444dfab6
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ sphinxcontrib-jquery==4.1 ; python_version >= "3.8" and python_version < "4.0" \
sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.8" and python_version < "4.0" \
--hash=sha256:2ec2eaebfb78f3f2078e73666b1415417a116cc848b72e5172e596c871103178 \
--hash=sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8
sphinxcontrib-mermaid==0.8.1 ; python_version >= "3.8" and python_version < "4.0" \
--hash=sha256:15491c24ec78cf1626b1e79e797a9ce87cb7959cf38f955eb72dd5512aeb6ce9 \
--hash=sha256:fa3e5325d4ba395336e6137d113f55026b1a03ccd115dc54113d1d871a580466
sphinxcontrib-mermaid==0.9.2 ; python_version >= "3.8" and python_version < "4.0" \
--hash=sha256:252ef13dd23164b28f16d8b0205cf184b9d8e2b714a302274d9f59eb708e77af \
--hash=sha256:6795a72037ca55e65663d2a2c1a043d636dc3d30d418e56dd6087d1459d98a5d
sphinxcontrib-qthelp==1.0.3 ; python_version >= "3.8" and python_version < "4.0" \
--hash=sha256:4c33767ee058b70dba89a6fc5c1892c0d57a54be67ddd3e7875a18d14cba5a72 \
--hash=sha256:bd9fc24bcb748a8d51fd4ecaade681350aa63009a347a8c14e637895444dfab6
Expand Down

0 comments on commit d055d80

Please sign in to comment.