* Add media Python tests
* Add media js test
* Remove try except blocks
* Make Python tests more end-to-end
* Add media Python tests
* Add media js test
* Remove try except blocks
* Make Python tests more end-to-end
* MicroPython explorations.
* Fix websocket tests, so they just skip.
* Fix MicroPython media tests, if no permission is given for a video device.
---------
Co-authored-by: Nicholas H.Tollervey <ntoll@ntoll.org>
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
* Ruff fixes
* Ruff fixes
* from __future__ import annotations breaks MicroPython
* noqa: FURB188 because there is no str.replacesuffix() in MicroPython
* Add ruff to pre-commit
* Add two unit tests for illustrative purposes.
* Radical simplification of @when, more tests and some minor refactoring.
Handle ElementCollections, tests for ElementCollection, make serve for running tests locally.
* Skip flakey Pyodide in worker test (it works 50/50 and appears to be a timing issue).
* Ensure onFOO relates to an underlying FOO event in an Element.
* Minor comment cleanup.
* Add async test for Event listeners.
* Handlers no longer require an event parameter.
* Add tests for async handling via when.
* Docstring cleanup.
* Refactor onFOO to on_FOO.
* Minor typo tidy ups.
* Use correct check for MicroPython.
---------
Co-authored-by: Andrea Giammarchi <andrea.giammarchi@gmail.com>
* Remove duplicate LICENSE.
* Remove un-userd pyscript.sw directory and its content.
* Remove ReadTheDocs settings (unused).
* Remove un-used pyproject.toml
* Remove now unused CHANGELOG. Changes now tracked via release notes on GitHub.
* Updated / cleaned release page template and associated GH actions.
* Update prettierignore to remove un-needed refs.
* Move troubleshooting into correct README.
* Add reason for the index.html
* Rename the "pyscript.core" directory to "core".
* Update PR template because CHANGELOG is no longer used.
* Codespell configuration in pyproject.toml.
* Update pyscript.core -> core in .githubignore
* Remove test-results/.last-run.json. This should be ignored by git.
* Pin nodejs version.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>