-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
127 lines (117 loc) · 2.63 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[project]
name = "confit"
description = "Smart configuration framework"
authors = [
{ name = "Perceval Wajsburt", email = "[email protected]" },
{ name = "Thomas Petit-Jean", email = "[email protected]" },
{ name = "Adam Remaki", email = "[email protected]" },
{ name = "Alice Calliger", email = "[email protected]" }
]
license = { file = "LICENSE" }
readme = "README.md"
requires-python = ">=3.7.1,<4.0"
dynamic = ['version']
dependencies = [
"catalogue>=2.0.7,<3.0",
"lark>=1.1.5,<2.0",
"pydantic>=1.2,<3.0",
"typer>=0.6.1,<1.0",
"pydantic-core>=0.20",
"PyYAML",
]
[project.optional-dependencies]
dev = [
"coverage>=7.0,<8.0",
"mike>=1.1.2,<2.0",
"mkdocs>=1.4,<2.0",
"mkdocs-autorefs>=0.4.1,<1.0.0",
"mkdocs-bibtex>=2.0.3,<3.0",
"mkdocs-glightbox>=0.1.6,<1.0.0",
"mkdocs-material>=8.2,<9.0",
"mkdocs-material-extensions>=1.1.1,<2.0.0",
"mkdocs-static-i18n>=0.53,<1.0.0",
"mkdocstrings>=0.18.1,<1.0.0",
"mkdocstrings-python>=0.6,<2.0.0",
"pre-commit>=2.18.1,<3.0",
"pytest>=7.1.1,<8.0",
"pytest-cov>=4.0.0,<5.0",
"rich",
"torch",
"numpy",
]
[tool.setuptools.dynamic]
version = { attr = "confit.__version__" }
[tool.interrogate]
ignore-init-method = false
ignore-init-module = false
ignore-magic = false
ignore-semiprivate = true
ignore-private = false
ignore-property-decorators = false
ignore-module = true
ignore-nested-functions = true
ignore-nested-classes = true
ignore-setters = false
fail-under = 8
exclude = ["docs", "build", "tests"]
verbose = 0
quiet = false
whitelist-regex = []
ignore-regex = ['__(?!init).*__']
color = true
omit-covered-files = false
[tool.coverage.report]
precision = 2
include = ["confit/*"]
omit = [
"tests/*",
]
exclude_also = [
"def __repr__",
"if __name__ == .__main__.:",
"@overload",
"pragma: no cover",
"raise .*Error",
"raise .*Exception",
"warn\\(",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
[tool.coverage.run]
include = ["confit/*"]
concurrency = ["multiprocessing"]
parallel = true
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.ruff]
fix = true
exclude = [
".git",
"__pycache__",
"__init__.py",
".mypy_cache",
".pytest_cache",
".venv",
"build",
]
ignore = []
line-length = 88
select = [
"E",
"F",
"W",
"I001"
]
fixable = ["E", "F", "W", "I"]
[tool.ruff.isort]
known-first-party = ["confit"]
known-third-party = ["build"]
[tool.mypy]
plugins = "pydantic.mypy"
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"