-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (74 loc) · 2.06 KB
/
pyproject.toml
File metadata and controls
88 lines (74 loc) · 2.06 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
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
name = "groundtruth"
description = "Ground Truth Analysis Tooling"
license = "MIT"
authors = [
{ name = "Indico Solutions Engineering", email = "solutionsengineering@indicodata.ai" },
]
readme = "README.md"
requires-python = ">=3.10,<4"
version = "2.0.0"
dependencies = [
"aiometer (>=1.0.0,<2.0.0)",
"arguably (>=1.3.0,<2.0.0)",
"indico-client (>=6.14.1,<7.0.0)",
"indico-toolkit (>=7.2.2,<8.0.0)",
"munkres (>=1.1.4,<2.0.0)",
"pathvalidate (>=3.3.1,<4.0.0)",
"polars (>=1.35.2,<2.0.0)",
"rapidfuzz (>=3.14.3,<4.0.0)",
"rich (>=14.2.0,<15.0.0)",
]
[tool.poetry.group.dev.dependencies]
black = "^25.11.0"
coverage = "^7.12.0"
mypy = "^1.18.2"
pytest = "^9.0.1"
pytest-asyncio = "^1.3.0"
pytest-cov = "^7.0.0"
pytest-mock = "^3.15.1"
ruff = "^0.14.6"
[tool.poetry.requires-plugins]
poetry-plugin-shell = "^1.0.0"
poethepoet = {extras = ["poetry-plugin"], version = "^0.37.0"}
[tool.poetry.scripts]
groundtruth = "groundtruth.cli:main"
[tool.poe.tasks]
black = "black groundtruth tests"
black-check = "black --check groundtruth tests"
coverage = "coverage html"
mypy = "mypy groundtruth tests"
pytest = "pytest tests --cov=groundtruth"
ruff = "ruff check --fix-only --exit-zero groundtruth tests"
ruff-check = "ruff check groundtruth tests"
format = ["ruff", "black"]
check = ["ruff-check", "black-check", "mypy"]
test = ["pytest", "coverage"]
all = ["format", "check", "test"]
[tool.black]
line-length = 88
[tool.ruff]
line-length = 88
lint.select = ["E", "F", "I"]
lint.fixable = ["I"]
[tool.mypy]
strict = true
show_error_codes = true
warn_unreachable = true
disallow_any_unimported = true
[[tool.mypy.overrides]]
module = "indico.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "munkres.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "@abstractmethod"]