Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Sep 24, 2022
1 parent d0ad971 commit 6c15c92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions wasm-preview/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@
</head>
<body>
<main>
<h1>
<a href="https://github.com/pydantic/pydantic-core/tree/main/wasm-preview">pydantic-core</a> unit tests
</h1>
<h1><a href="https://github.com/pydantic/pydantic-core/tree/main/wasm-preview">pydantic-core</a> unit tests</h1>
<aside>
pydantic-core is compiled to webassembly and run in the browser using
<a href="https://pyodide.org/en/stable/">pyodide</a>.
Expand Down
4 changes: 2 additions & 2 deletions wasm-preview/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function get(url, mode) {
}
}

async function main () {
async function main() {
const latest_release = await get('https://api.github.com/repos/pydantic/pydantic-core/releases/latest', 'json');
const {tag_name} = latest_release;
self.postMessage(`Running tests against latest pydantic-core release (${tag_name}).\n`);
Expand Down Expand Up @@ -102,4 +102,4 @@ async function main () {
}
}

main()
main();

0 comments on commit 6c15c92

Please sign in to comment.