From e1cc701553a5c5c4d8ab33a850b412347d8f1468 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 11:53:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../sphinx_pyodide/sphinx_pyodide/mdn_xrefs.py | 18 +++++++++++++++--- src/js/api.ts | 6 +++--- src/js/load-package.ts | 2 +- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/docs/sphinx_pyodide/sphinx_pyodide/mdn_xrefs.py b/docs/sphinx_pyodide/sphinx_pyodide/mdn_xrefs.py index 9a35130df78..a6adc4c35b9 100644 --- a/docs/sphinx_pyodide/sphinx_pyodide/mdn_xrefs.py +++ b/docs/sphinx_pyodide/sphinx_pyodide/mdn_xrefs.py @@ -165,9 +165,21 @@ ) for ty, key, url in [ - ("js:data", "void", "https://www.typescriptlang.org/docs/handbook/2/functions.html#void"), - ("js:data", "any", "https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any"), - ("js:class", "Record", "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type") + ( + "js:data", + "void", + "https://www.typescriptlang.org/docs/handbook/2/functions.html#void", + ), + ( + "js:data", + "any", + "https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any", + ), + ( + "js:class", + "Record", + "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type", + ), ]: INVDATA[ty][key] = ( "typescript docs", diff --git a/src/js/api.ts b/src/js/api.ts index 426176ab0a0..1fd4e3399f0 100644 --- a/src/js/api.ts +++ b/src/js/api.ts @@ -667,9 +667,9 @@ export class PyodideAPI { } /** - * - * @param param0 - * @returns + * + * @param param0 + * @returns */ static makeMemorySnapshot({ serializer, diff --git a/src/js/load-package.ts b/src/js/load-package.ts index 7dccf08dd86..cba638dde22 100644 --- a/src/js/load-package.ts +++ b/src/js/load-package.ts @@ -567,7 +567,7 @@ export function toStringArray(str: string | PyProxy | string[]): string[] { } export let loadPackage: typeof PackageManager.prototype.loadPackage; -/** +/** * An object whose keys are the names of the loaded packages and whose values * are the install sources of the packages. Use * `Object.keys(pyodide.loadedPackages)` to get the list of names of loaded