mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 10:17:23 -05:00
* remove PyWidget and py-register-widget * refactor py-list as Plugin * add newline * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix eslint * handle case if src not supplied * move inside if * - Remove src attribute for py-list - Re-implement as a Python plugin - Remove pylist.py from examples directory - Remove PyListPlugin as one of the default ones * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * move PyItem and PyList classes to the plugin * clean up PyListTemplate and PyItemTemplate from pyscript module * fix linting * use PyList instead of PyListTemplate instead * fix example for todo-pylist * re-enable and improve test * move py-list plugin to examples * fix py-list plugin link --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
39 lines
530 B
TOML
39 lines
530 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.2"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
dynamic = ["version"]
|
|
|
|
[tool.codespell]
|
|
ignore-words-list = "afterall"
|
|
skip = "pyscriptjs/node_modules/*,*.js,*.json"
|
|
|
|
[tool.ruff]
|
|
builtins = [
|
|
"Element",
|
|
"pyscript",
|
|
]
|
|
ignore = [
|
|
"S101",
|
|
"S113",
|
|
]
|
|
line-length = 100
|
|
select = [
|
|
"B",
|
|
"C9",
|
|
"E",
|
|
"F",
|
|
"I",
|
|
"S",
|
|
"UP",
|
|
"W",
|
|
]
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.mccabe]
|
|
max-complexity = 10
|
|
|
|
[tool.setuptools]
|
|
include-package-data = false
|