mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 02:37:41 -05:00
pre-commit.ci has been disabled for a while. This PR ensures that all the files has been validated/formatted by pre-commit, to avoid spurious diffs in subsequent PRs. During the process, ruff broke the code because it removed an "unused" import which was actually used. A linter which breaks my code is a linter which I cannot trust, so I just removed it. I re-enabled isort instead.
9 lines
144 B
Python
9 lines
144 B
Python
import a
|
|
from pyscript import display, sync
|
|
|
|
display("Hello World", target="test", append=True)
|
|
|
|
print("sleeping")
|
|
sync.sleep(1)
|
|
print("awake")
|