-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (68 loc) · 1.54 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[project]
name = "pyamldantic"
version = "1.3.0"
description = "Validate and serialize YAML config files with Pydantic, with support for environment variables."
readme = "README.md"
authors = [
{ name = "Stefano Fusai", email = "[email protected]" }
]
maintainers = [
{ name = "Stefano Fusai", email = "[email protected]" }
]
requires-python = ">=3.12"
dependencies = [
"pydantic>=2.8.0,<3.0.0",
"pyyaml>=6.0.1,<7.0.0",
]
[project.urls]
Homepage = "https://github.com/stefanofusai/pyamldantic"
Repository = "https://github.com/stefanofusai/pyamldantic"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
development = [
"pre-commit==4.0.1",
"ruff==0.8.2",
]
testing = [
"pytest==8.3.4",
"pytest-cov==6.0.0",
"pytest-mock==3.14.0",
"pytest-xdist==3.6.1",
]
[tool.mypy]
python_version = "3.12"
strict = true
[tool.pytest.ini_options]
addopts = "--cov --verbose --cov-report=term-missing:skip-covered --cov-report=xml --durations=10 --numprocesses=auto"
filterwarnings = ["ignore::DeprecationWarning"]
python_files = ["tests/*"]
[tool.ruff.lint]
select = ["ALL"]
ignore = [
# Bad rules
"COM812",
"D203",
"D212",
"E501",
"FA102",
"FIX",
"ISC001",
"PLR2004",
"RUF012",
"S311",
"TD001",
"TD002",
"TD003",
"TRY003",
# Project-specific rules
"D100",
"D104"
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["D103", "S101"]
[tool.uv]
default-groups = []