voicemeeter-api-python/pyproject.toml

147 lines
2.2 KiB
TOML
Raw Normal View History

2022-06-16 14:07:12 +01:00
[tool.poetry]
name = "voicemeeter-api"
version = "2.5.3"
2022-06-16 14:07:12 +01:00
description = "A Python wrapper for the Voiceemeter API"
authors = ["onyx-and-iris <code@onyxandiris.online>"]
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]
python = "^3.10"
tomli = { version = "^2.0.1", python = "<3.11" }
2022-06-16 14:07:12 +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"
pytest-repeat = "^0.9.1"
2022-06-16 14:07:12 +01:00
black = "^22.3.0"
isort = "^5.10.1"
tox = "^4.6.3"
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"
[tool.poetry.scripts]
2022-11-07 20:21:50 +00:00
dsl = "scripts:ex_dsl"
events = "scripts:ex_events"
2023-06-24 23:30:35 +01:00
gui = "scripts:ex_gui"
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"
[tool.tox]
legacy_tox_ini = """
[tox]
2024-02-07 18:40:05 +00:00
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",
]