upd poethepoet ver

have poe read from .env file
rename script tasks

add py313 to tox env list
This commit is contained in:
onyx-and-iris 2026-01-17 09:38:44 +00:00
parent fbd1d54f9b
commit 1babf85a89
2 changed files with 36 additions and 40 deletions

4
.gitignore vendored
View File

@ -151,8 +151,8 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# quick test
quick.py
# test files
test-*.py
#config
config.toml

View File

@ -2,18 +2,14 @@
name = "vban-cmd"
version = "2.5.2"
description = "Python interface for the VBAN RT Packet Service (Sendtext)"
authors = [
{name = "Onyx and Iris",email = "code@onyxandiris.online"}
]
license = {text = "MIT"}
authors = [{ name = "Onyx and Iris", email = "code@onyxandiris.online" }]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"tomli (>=2.0.1,<3.0) ; python_version < '3.11'",
]
dependencies = ["tomli (>=2.0.1,<3.0) ; python_version < '3.11'"]
[tool.poetry.requires-plugins]
poethepoet = "^0.32.1"
poethepoet = "^0.35.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.4"
@ -26,19 +22,22 @@ virtualenv-pyenv = "^0.5.0"
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poe]
envfile = ".env"
[tool.poe.tasks]
gui.script = "scripts:ex_gui"
obs.script = "scripts:ex_obs"
observer.script = "scripts:ex_observer"
test_basic.script = "scripts:test_basic"
test_banana.script = "scripts:test_banana"
test_potato.script = "scripts:test_potato"
test_all.script = "scripts:test_all"
test-basic.script = "scripts:test_basic"
test-banana.script = "scripts:test_banana"
test-potato.script = "scripts:test_potato"
test-all.script = "scripts:test_all"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py310,py311,py312
envlist = py310,py311,py312,py313
[testenv]
passenv = *
@ -136,7 +135,4 @@ docstring-code-line-length = "dynamic"
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"E402",
"F401",
]
"__init__.py" = ["E402", "F401"]