Skip to content

Commit 5d6009e

Browse files
authored
Merge pull request pyscript#118 from Mng-dev-ai/remove-unused-imports
remove unused imports
2 parents b2238a9 + e7016ae commit 5d6009e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

pyscriptjs/src/components/pyenv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as jsyaml from 'js-yaml';
22

3-
import { pyodideLoaded, loadedEnvironments, mode, addInitializer } from '../stores';
3+
import { pyodideLoaded, addInitializer } from '../stores';
44
import { loadPackage, loadFromFile } from '../interpreter';
55

66
// Premise used to connect to the first available pyodide interpreter

pyscriptjs/src/components/pytitle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { BaseEvalElement } from './base';
2-
import { addClasses, ltrim, htmlDecode } from '../utils';
2+
import { addClasses, htmlDecode } from '../utils';
33

44
export class PyTitle extends BaseEvalElement {
55
shadow: ShadowRoot;

pyscriptjs/src/pyscript.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
from js import document, setInterval, console
2-
import micropip
1+
from js import document, console
32
import asyncio
4-
import io, base64, sys
3+
import io, base64
54

65
loop = asyncio.get_event_loop()
76

0 commit comments

Comments
 (0)