-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (104 loc) · 2.13 KB
/
pyproject.toml
File metadata and controls
119 lines (104 loc) · 2.13 KB
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
[project]
name = "skore-local-project"
dynamic = ["license-files", "readme", "version"]
requires-python = ">=3.10"
maintainers = [{ name = "skore developers", email = "skore@signal.probabl.ai" }]
license = "MIT"
dependencies = [
"diskcache",
"joblib",
"platformdirs",
"rich",
]
[project.optional-dependencies]
test = [
"pandas",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-order",
"pytest-randomly",
"pytest-xdist",
"skore",
"xdoctest",
]
[project.entry-points."skore.plugins.project"]
local = "skore_local_project:Project"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.metadata.hooks.custom]
path = "hatch/metadata.py"
version-default = "0.0.0+unknown"
license = { "file" = "../LICENSE" }
readme = { "file" = "../README.md" }
[tool.hatch.build.targets.sdist]
only-include = ["src/", "hatch/"]
[tool.hatch.build.targets.wheel]
package = ["src/skore_local_project/"]
[tool.pytest.ini_options]
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
"--xdoctest",
"--import-mode=importlib",
"--no-header",
"--verbosity=2",
"--dist=loadscope",
"--durations=25",
]
xfail_strict = true
filterwarnings = ["error"]
log_cli_level = "info"
[tool.coverage.run]
branch = true
source = ["skore_local_project"]
concurrency = ["thread", "multiprocessing"]
parallel = true
[tool.coverage.report]
omit = ["src/*", "tests/*"]
show_missing = true
exclude_also = [
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.ruff.lint]
select = [
"B",
"C4",
"T10",
"T20",
"PYI055", "PYI059",
"PT003", "PT014",
"SIM",
"I",
"PERF",
"E",
"D",
"F",
"UP",
"RUF010", "RUF015",
]
ignore = ["PERF203"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D"]
[tool.ty.src]
exclude = [
"hatch/**",
"tests/**",
]
[tool.ty.analysis]
allowed-unresolved-imports = [
"diskcache.**",
"joblib.**",
]
[tool.ty.rules]
unresolved-import = "ignore"
unknown-argument = "ignore"
invalid-argument-type = "ignore"
unresolved-attribute = "ignore"
invalid-assignment = "ignore"