Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(python-deps): update dependency pyright to v1.1.380 for dev #96

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc_config/macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import tomli

from mkdocs_macros.plugin import MacrosPlugin # pyright: ignore[reportMissingTypeStubs]
from mkdocs_macros.plugin import MacrosPlugin

CONVERSION_PATTERN = re.compile(
r"> \[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION|DANGER)]\s*>\s*(.*?)(?=\n[^>]|$)",
Expand Down Expand Up @@ -95,12 +95,12 @@ def on_pre_page_macros(env: MacrosPlugin) -> None:
"""Post-process pages."""
# Check if there are any repo links to replace on the page
env.markdown = convert_local_repo_links_to_urls(
env.markdown, # pyright: ignore[reportUnknownMemberType,reportUnknownArgumentType]
env.markdown,
f"{env.conf.repo_url}/blob/{env.variables['git_ref']}/",
)


def on_post_page_macros(env: MacrosPlugin) -> None:
"""Post-process pages."""
# Check if there are any admonitions to replace on the page
env.markdown = convert_gfm_alerts_to_admonitions(env.markdown) # pyright: ignore[reportUnknownMemberType,reportUnknownArgumentType]
env.markdown = convert_gfm_alerts_to_admonitions(env.markdown)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ poetry-audit-plugin = "^0.4.0"
poetry-plugin-export = "1.8.0"
poetry-pre-commit-plugin = "^0.1.2"
pre-commit = "3.8.0"
pyright = "1.1.379"
pyright = "1.1.380"
tox = "^4.18.0"
tox-gh-actions = "^3.2.0"

Expand Down
Loading