mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 10:17:23 -05:00
pre-commit: Upgrade the Python linter ruff (#2370)
This commit is contained in:
@@ -10,7 +10,7 @@ from pyscript import document, window, PyWorker
|
||||
from libthree import THREE, clear, SoundPlayer
|
||||
from libthree import get_renderer, get_ortho_camera
|
||||
from libthree import get_loading_manager, get_stats_gl
|
||||
from libthree import lsgeo, line2, linemat, lsgeo
|
||||
from libthree import line2, linemat, lsgeo
|
||||
from libfft import BeatSync
|
||||
|
||||
from multipyjs import MICROPYTHON, new, call, to_js, create_proxy
|
||||
|
||||
@@ -32,7 +32,7 @@ def test_js_module_is_available_on_worker():
|
||||
|
||||
|
||||
@upytest.skip("Worker only.", skip_when=not RUNNING_IN_WORKER)
|
||||
def test_js_module_is_available_on_worker():
|
||||
def test_js_module_is_available_on_greeting_worker():
|
||||
"""
|
||||
The "hello" function in the example_js_worker_module.js file is available
|
||||
via the js_modules object while running in a worker.
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
Tests for the PyScript media module.
|
||||
"""
|
||||
|
||||
from pyscript import media
|
||||
import upytest
|
||||
|
||||
from pyscript import media
|
||||
|
||||
Reference in New Issue
Block a user