-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (98 loc) · 2.29 KB
/
pyproject.toml
File metadata and controls
120 lines (98 loc) · 2.29 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
120
[project]
name = "padmy"
version = "0.25.2"
authors = [
{ email = "julien.brayere@tracktor.fr" }
]
readme = "README.md"
homepage = "https://github.com/tracktor/padmy"
repository = "https://github.com/tracktor/padmy"
keywords = ["utility"]
include = [
"LICENSE"
]
requires-python = ">=3.12,<4.0"
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"piou >=0.21.0,<1.0.0",
"asyncpg >=0.31.0,<1.0.0",
"PyYAML >=6.0.2,<7.0",
"typing-extensions >=4.3.0 ; python_version < '3.11'",
"tracktolib >=0.42.1,<1.0.0",
"pytz >=2024.1,<2025.0 ; python_version < '3.12'"
]
[dependency-groups]
dev = [
"pytest >=9.0.1,<10.0.0",
"pytest-cov >=7.0.0,<8.0.0",
"pyright >=1.1.407,<2.0.0",
"ruff >=0.14.5,<1.0.0",
"deepdiff >=8.6.1,<9",
"tracktolib >=0.46.0,<1.0.0",
"psycopg >=3.2.12,<4.0.0",
"pre-commit>=4.4.0",
]
network = [
"networkx >=3.1.0,<4.0.0",
"dash >=2.6.0,<3.0.0",
"dash-cytoscape >=0.3.0,<1.0.0"
]
bump = [
"commitizen >=4.10.0,<5"
]
notebook = [
"jupyterlab>=4.4.10",
]
anonymize = [
"Faker >=13.15.1,<14.0.0",
]
[project.scripts]
padmy = "padmy:run"
[build-system]
requires = ["uv_build>=0.9.4,<0.10.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "padmy"
module-root = ""
[tool.pytest.ini_options]
addopts = "--cov=padmy -s -q -x"
testpaths = [
"tests"
]
python_files = "*.py"
[tool.pyright]
include = ["padmy", "tests"]
exclude = []
pythonVersion = "3.14"
pythonPlatform = "Linux"
useLibraryCodeForTypes = true
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.25.2"
tag_format = "$version"
version_files = [
"pyproject.toml:version"
]
bump_message = "release $current_version → $new_version [skip ci]"
[tool.ruff]
line-length = 120
target-version = "py314"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
# imported but unused
"F401",
# unable to detect undefined names
"F403"
]
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "single"
[tool.ruff.lint.flake8-tidy-imports]
# Disallow all relative imports.
ban-relative-imports = "all"