Skip to content

Commit

Permalink
Merge pull request #204 from lsst-sqre/u/neophile
Browse files Browse the repository at this point in the history
[neophile] Update dependencies
  • Loading branch information
neophile-square[bot] committed Jan 2, 2024
2 parents a29caed + 0814779 commit 42c8f66
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 18 deletions.
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

0 comments on commit 42c8f66

Please sign in to comment.