-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (50 loc) · 1.32 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[project]
name = "sonolus.py"
version = "0.2.0"
description = "Sonolus engine development in Python"
readme = "README.md"
requires-python = ">=3.12"
[project.scripts]
sonolus-py = "sonolus.build.cli:main"
[tool.uv]
dev-dependencies = [
"hypothesis>=6.115.3",
"pre-commit>=4.0.1",
"pytest-xdist>=3.6.1",
"pytest>=8.3.3",
"ruff>=0.6.9",
"pytest-cov>=6.0.0",
"tox>=4.23.2",
"tox-uv>=1.16.0",
]
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
preview = true
select = ["F", "E", "W", "I", "N", "D", "UP", "YTT", "B", "A", "COM", "C4", "DTZ", "PIE", "PT", "Q", "SLOT", "SIM", "PTH", "PL", "PERF", "FURB", "LOG", "RUF"]
ignore = ["E402", "D1", "COM812", "PLW2901", "PLW3201", "PLR6301", "PLC0415", "PLR2004", "PLR09", "SIM108", "FURB113", "A005"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
docs = [
"mkdocs-material>=9.5.45",
"mkdocs>=1.6.1",
"mkdocstrings[python]>=0.27.0",
]
[tool.hatch.build.targets.wheel]
packages = ["sonolus"]
[tool.tox]
requires = ["tox>=4.19"]
env_list = ["py312", "py313"]
[tool.tox.env_run_base]
description = "Run tests"
deps = [
"hypothesis>=6.115.3",
"pytest-xdist>=3.6.1",
"pytest>=8.3.3",
]
commands = [["pytest", "tests", "-n", "auto"]]