diff --git a/.gitignore b/.gitignore index ff2f21c..c074681 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 67de714..fd933ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = * @@ -60,27 +59,27 @@ commands = [tool.ruff] exclude = [ - ".bzr", - ".direnv", - ".eggs", - ".git", - ".git-rewrite", - ".hg", - ".mypy_cache", - ".nox", - ".pants.d", - ".pytype", - ".ruff_cache", - ".svn", - ".tox", - ".venv", - "__pypackages__", - "_build", - "buck-out", - "build", - "dist", - "node_modules", - "venv", + ".bzr", + ".direnv", + ".eggs", + ".git", + ".git-rewrite", + ".hg", + ".mypy_cache", + ".nox", + ".pants.d", + ".pytype", + ".ruff_cache", + ".svn", + ".tox", + ".venv", + "__pypackages__", + "_build", + "buck-out", + "build", + "dist", + "node_modules", + "venv", ] # Same as Black. @@ -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"]