move example/test scripts into poe.tasks

This commit is contained in:
Onyx and Iris 2025-01-12 11:53:34 +00:00
parent c1b2a543cc
commit 79a0c93466

View File

@ -24,18 +24,18 @@ virtualenv-pyenv = "^0.5.0"
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts] [tool.poe.tasks]
dsl = "scripts:ex_dsl" dsl.script = "scripts:ex_dsl"
events = "scripts:ex_events" events.script = "scripts:ex_events"
gui = "scripts:ex_gui" gui.script = "scripts:ex_gui"
levels = "scripts:ex_levels" levels.script = "scripts:ex_levels"
midi = "scripts:ex_midi" midi.script = "scripts:ex_midi"
obs = "scripts:ex_obs" obs.script = "scripts:ex_obs"
observer = "scripts:ex_observer" observer.script = "scripts:ex_observer"
basic = "scripts:test_basic" basic.script = "scripts:test_basic"
banana = "scripts:test_banana" banana.script = "scripts:test_banana"
potato = "scripts:test_potato" potato.script = "scripts:test_potato"
all = "scripts:test_all" all.script = "scripts:test_all"
[tool.tox] [tool.tox]
legacy_tox_ini = """ legacy_tox_ini = """
@ -96,6 +96,7 @@ unfixable = []
# Allow unused variables when underscore-prefixed. # Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format] [tool.ruff.format]
# Like Black, use double quotes for strings. # Like Black, use double quotes for strings.
quote-style = "double" quote-style = "double"