[tool.poetry] name = "voicemeeter-api" version = "2.5.4" description = "A Python wrapper for the Voiceemeter API" authors = ["onyx-and-iris "] license = "MIT" readme = "README.md" repository = "https://github.com/onyx-and-iris/voicemeeter-api-python" packages = [{ include = "voicemeeterlib" }] [tool.poetry.dependencies] python = "^3.10" tomli = { version = "^2.0.1", python = "<3.11" } [tool.poetry.group.dev.dependencies] pytest = "^7.4.4" pytest-randomly = "^3.12.0" pytest-repeat = "^0.9.1" black = ">=22.3,<25.0" isort = "^5.10.1" tox = "^4.6.3" ruff = "^0.1.3" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] dsl = "scripts:ex_dsl" events = "scripts:ex_events" gui = "scripts:ex_gui" levels = "scripts:ex_levels" midi = "scripts:ex_midi" obs = "scripts:ex_obs" observer = "scripts:ex_observer" basic = "scripts:test_basic" banana = "scripts:test_banana" potato = "scripts:test_potato" all = "scripts:test_all" [tool.tox] legacy_tox_ini = """ [tox] envlist = py310,py311,py312 [testenv] allowlist_externals = poetry commands = poetry install -v poetry run pytest tests/ """ [tool.black] line-length = 88 [tool.ruff] select = [ "E", "F", ] ignore = [ "E501", ] fixable = [ "A", "B", "C", "D", "E", "F", "G", "I", "N", "Q", "S", "T", "W", "ANN", "ARG", "BLE", "COM", "DJ", "DTZ", "EM", "ERA", "EXE", "FBT", "ICN", "INP", "ISC", "NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH", "TID", "TRY", "UP", "YTT", ] unfixable = [] 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", ] line-length = 88 dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" target-version = "py310" [tool.ruff.mccabe] max-complexity = 10 [tool.ruff.per-file-ignores] "__init__.py" = [ "E402", "F401", ]