File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5454 token : ${{ github.token }}
5555 filters : .github/file-filters.yml
5656
57- # ------------------------------------------ All Linter ------------------------------------------
57+ # ------------------------------------------ All Linter ------------------------------------------
5858
5959 yaml-lint :
6060 if : needs.files-changed.outputs.yaml == 'true'
8484 - name : " Linting: ruff format"
8585 run : " ruff format --check --diff ."
8686
87-
8887 markdown-lint :
8988 if : |
9089 needs.files-changed.outputs.documentation == 'true' ||
@@ -119,7 +118,6 @@ jobs:
119118 env :
120119 SHELLCHECK_OPTS : --exclude=SC2086 --exclude=SC2046 --exclude=SC2004 --exclude=SC2129
121120
122-
123121 documentation :
124122 defaults :
125123 run :
@@ -141,7 +139,7 @@ jobs:
141139 uses : actions/setup-node@v4
142140 with :
143141 node-version : 20
144- cache : ' npm'
142+ cache : " npm"
145143 cache-dependency-path : docs/package-lock.json
146144 - name : " Install dependencies"
147145 run : npm install
Original file line number Diff line number Diff line change 1+ from __future__ import annotations
2+
13import asyncio
24import sys
35from pathlib import Path
46from shutil import which
5- from typing import Any , Union
7+ from typing import Any
68
79from invoke import Context , task
810from invoke .exceptions import UnexpectedExit
@@ -258,7 +260,7 @@ def generate_python_sdk(context: Context) -> None: # noqa: ARG001
258260
259261
260262@task (name = "generate-sdk-api-docs" )
261- def generate_sdk_api_docs (context : Context , output : Union [ str , None ] = None ) -> None :
263+ def generate_sdk_api_docs (context : Context , output : str | None = None ) -> None :
262264 """Generate API documentation for the Python SDK."""
263265
264266 import operator
You can’t perform that action at this time.
0 commit comments