2022-06-16 14:07:12 +01:00
|
|
|
[tool.poetry]
|
|
|
|
name = "voicemeeter-api"
|
2024-06-20 17:01:48 +01:00
|
|
|
version = "2.5.4"
|
2022-06-16 14:07:12 +01:00
|
|
|
description = "A Python wrapper for the Voiceemeter API"
|
|
|
|
authors = ["onyx-and-iris <code@onyxandiris.online>"]
|
2022-06-16 16:17:33 +01:00
|
|
|
license = "MIT"
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/onyx-and-iris/voicemeeter-api-python"
|
|
|
|
|
2023-07-10 17:45:38 +01:00
|
|
|
packages = [{ include = "voicemeeterlib" }]
|
2022-06-16 14:07:12 +01:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2022-09-03 16:28:19 +01:00
|
|
|
python = "^3.10"
|
|
|
|
tomli = { version = "^2.0.1", python = "<3.11" }
|
2022-06-16 14:07:12 +01:00
|
|
|
|
2023-08-27 19:02:26 +01:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2024-02-15 18:47:41 +00:00
|
|
|
pytest = "^7.4.4"
|
2022-06-16 14:07:12 +01:00
|
|
|
pytest-randomly = "^3.12.0"
|
2022-07-16 21:24:51 +01:00
|
|
|
pytest-repeat = "^0.9.1"
|
2024-03-28 11:17:40 +00:00
|
|
|
black = ">=22.3,<25.0"
|
2022-06-16 14:07:12 +01:00
|
|
|
isort = "^5.10.1"
|
2023-06-23 18:18:42 +01:00
|
|
|
tox = "^4.6.3"
|
2023-10-29 09:40:10 +00:00
|
|
|
ruff = "^0.1.3"
|
2022-06-16 14:07:12 +01:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
2022-10-28 02:14:08 +01:00
|
|
|
|
|
|
|
[tool.poetry.scripts]
|
2022-11-07 20:21:50 +00:00
|
|
|
dsl = "scripts:ex_dsl"
|
2023-06-23 18:18:42 +01:00
|
|
|
events = "scripts:ex_events"
|
2023-06-24 23:30:35 +01:00
|
|
|
gui = "scripts:ex_gui"
|
2023-06-23 18:18:42 +01:00
|
|
|
levels = "scripts:ex_levels"
|
2022-11-07 20:21:50 +00:00
|
|
|
midi = "scripts:ex_midi"
|
|
|
|
obs = "scripts:ex_obs"
|
|
|
|
observer = "scripts:ex_observer"
|
2023-08-10 16:27:49 +01:00
|
|
|
basic = "scripts:test_basic"
|
|
|
|
banana = "scripts:test_banana"
|
|
|
|
potato = "scripts:test_potato"
|
|
|
|
all = "scripts:test_all"
|
2023-06-23 18:18:42 +01:00
|
|
|
|
|
|
|
[tool.tox]
|
|
|
|
legacy_tox_ini = """
|
|
|
|
[tox]
|
2024-02-07 18:40:05 +00:00
|
|
|
envlist = py310,py311,py312
|
2023-06-23 18:18:42 +01:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
allowlist_externals = poetry
|
|
|
|
commands =
|
|
|
|
poetry install -v
|
|
|
|
poetry run pytest tests/
|
|
|
|
"""
|
2023-10-29 09:40:10 +00:00
|
|
|
|
|
|
|
[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",
|
|
|
|
]
|