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

[neophile] Update dependencies #204

Merged
merged 2 commits into from
Jan 2, 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 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ repos:
files: (README\.rst)|(CHANGELOG\.rst)

- repo: https://github.com/PyCQA/isort/
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
additional_dependencies:
- toml

- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.1a1
hooks:
- id: black

Expand All @@ -39,7 +39,7 @@ repos:
- id: flake8

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [css, scss, javascript]
6 changes: 3 additions & 3 deletions src/documenteer/conf/_toml.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,9 @@ def set_edit_on_github(
html_theme_options["use_edit_page_button"] = True
html_context["github_user"] = github_owner
html_context["github_repo"] = github_repo
html_context[
"github_version"
] = self.conf.project.github_default_branch
html_context["github_version"] = (
self.conf.project.github_default_branch
)
html_context["doc_path"] = doc_dir

@property
Expand Down
12 changes: 6 additions & 6 deletions src/documenteer/conf/guide.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,9 @@
}
else:
documenteer_openapi_generator = None
documenteer_openapi_path: Optional[
str
] = _conf.conf.project.openapi.openapi_path
documenteer_openapi_path: Optional[str] = (
_conf.conf.project.openapi.openapi_path
)
redoc: Optional[List[Any]] = [
{
"name": "REST API",
Expand All @@ -439,9 +439,9 @@
"opts": {"hide-hostname": True},
}
]
redoc_uri: Optional[
str
] = "https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"
redoc_uri: Optional[str] = (
"https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"
)
else:
documenteer_openapi_generator = None
documenteer_openapi_path = None
Expand Down
6 changes: 3 additions & 3 deletions src/documenteer/conf/technote.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@

_id = T.metadata.id # noqa: F405
if _id is not None:
html_context[ # noqa: F405
"editions_url"
] = f"https://{_id.lower()}.lsst.io/v/"
html_context["editions_url"] = ( # noqa: F405
f"https://{_id.lower()}.lsst.io/v/"
)
1 change: 0 additions & 1 deletion tests/ext/jira_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
for licensing information.
"""


from shutil import rmtree
from tempfile import mkdtemp

Expand Down
1 change: 0 additions & 1 deletion tests/ext/lsstdocushare_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Tests for `documenteer.ext.lsstdocushare`."""


from shutil import rmtree
from tempfile import mkdtemp

Expand Down
1 change: 0 additions & 1 deletion tests/ext/mockcoderefs_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"""Tests for documenteer.ext.mockcoderefs."""


from shutil import rmtree
from tempfile import mkdtemp

Expand Down