Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 5, 2023
1 parent a57f84c commit e48d5ce
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/core/pyproxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ declare var Tests: any;
declare var Module: any;
declare var Hiwire: any;

import {TypedArray} from "lib";
import { TypedArray } from "lib";
import { warnOnce } from "pyodide_util";

// pyodide-skip
Expand Down
18 changes: 9 additions & 9 deletions src/js/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import { type InFuncType } from "./streams";
import { type PackageData } from "./load-package";

export type TypedArray =
| Int8Array
| Uint8Array
| Int16Array
| Uint16Array
| Int32Array
| Uint32Array
| Uint8ClampedArray
| Float32Array
| Float64Array;
| Int8Array
| Uint8Array
| Int16Array
| Uint16Array
| Int32Array
| Uint32Array
| Uint8ClampedArray
| Float32Array
| Float64Array;

declare global {
export var Module: Module;
Expand Down
5 changes: 4 additions & 1 deletion src/tests/test_core_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ def pytest_generate_tests(metafunc):
tests = get_tests()
metafunc.parametrize(
"main_test",
[pytest.param(t, marks=pytest.mark.requires_dynamic_linking) for t in tests],
[
pytest.param(t, marks=pytest.mark.requires_dynamic_linking)
for t in tests
],
ids=[t[0] for t in tests],
)

0 comments on commit e48d5ce

Please sign in to comment.