Skip to content

Commit e683693

Browse files
ci(deps): update actions/create-github-app-token action to v3 (#153)
* ci(deps): update actions/create-github-app-token action to v3 * ty --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: watermarkhu <watermarkhu@gmail.com>
1 parent dac565b commit e683693

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
next-tag: ${{ steps.get-version.outputs.next-tag }}
2222

2323
steps:
24-
- uses: actions/create-github-app-token@v2
24+
- uses: actions/create-github-app-token@v3
2525
id: app-token
2626
with:
2727
app-id: ${{ vars.APP_ID }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pygments = { git = "https://github.com/watermarkhu/pygments", branch = "matlab"
4040

4141
[dependency-groups]
4242
dev = [
43-
"ty~=0.0.1a29",
43+
"ty~=0.0.23",
4444
"prek>=0.2.19",
4545
"ruff~=0.15.0",
4646
"pydantic~=2.10",

src/mkdocstrings_handlers/matlab/handler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,15 @@ def update_env(self, config: Any) -> None: # noqa: ARG002
190190
self.env.filters["as_inheritance_diagram_section"] = (
191191
rendering.do_as_inheritance_diagram_section
192192
)
193-
self.env.globals["AutorefsHook"] = rendering.AutorefsHook
193+
self.env.globals["AutorefsHook"] = rendering.AutorefsHook # ty: ignore[invalid-assignment]
194194
self.env.tests["existing_template"] = lambda template_name: (
195195
template_name in self.env.list_templates()
196196
)
197197
# The following is required since in MATLAB there is a concept called namespace
198198
# This is used as a variable in Jinja templates and would overwrite the namespace macro
199199
# Thus we create an alias for this.
200200
self.env.globals["jinja_namespace"] = self.env.globals["namespace"]
201-
self.env.globals["paths_collection"] = self._paths_collection
201+
self.env.globals["paths_collection"] = self._paths_collection # ty: ignore[invalid-assignment]
202202

203203
def collect(self, identifier: str, options: MatlabOptions) -> CollectorItem:
204204
"""Collect data given an identifier and user configuration.

0 commit comments

Comments
 (0)