-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.21 KB
/
pyproject.toml
File metadata and controls
95 lines (86 loc) · 2.21 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
[build-system]
requires = ["setuptools>=68", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "udata-hydra"
dynamic = ["version"]
description = "Async crawler and parsing service for data.gouv.fr"
authors = [{ name = "Opendata Team", email = "opendatateam@data.gouv.fr" }]
dependencies = [
"aiohttp>=3.10.3",
"asyncpg>=0.29.0",
"coloredlogs>=15.0.1",
"csv-detective==0.11.2",
"dateparser>=1.1.7",
"humanfriendly>=10.0",
"json-stream>=2.3.3",
"marshmallow>=3.14.1",
"minio>=7.2.8",
"owslib>=0.35.0",
"progressist>=0.1.0",
"pyarrow>=16.1.0",
"python-magic>=0.4.25",
"python-slugify>=8.0.4",
"redis>=4.1.4",
"rq>=1.11.1",
"sentry-sdk>=2.10.0",
"sqlalchemy>=1.4.46",
"tippecanoe>=2.72.0",
"typer>=0.15.1",
]
requires-python = ">=3.11,<3.14"
license = { text = "MIT" }
readme = "README.md"
[dependency-groups]
dev = [
"aiohttp-devtools>=1.0.post0",
"aioresponses>=0.7.3",
"gunicorn>=20.1.0",
"mypy>=1.11.0",
"nest_asyncio2>=1.7.1",
"pytest>=8.3.0",
"pytest-asyncio>=1.1.0",
"pytest-cov>=5.0.0",
"pytest-mock>=3.7.0",
"ruff>=0.9.3",
"ty>=0.0.17",
]
[project.scripts]
udata-hydra = "udata_hydra.cli:run"
udata-hydra-crawl = "udata_hydra.crawl:run"
udata-hydra-app = "udata_hydra.app:run"
[tool.mypy]
[[tool.mypy.overrides]]
module = [
"asyncpg.*",
"boto3.*",
"botocore.*",
"csv_detective.*",
"humanfriendly.*",
"owslib.*",
"sqlalchemy.*",
"str2bool.*",
"str2float.*",
"toml.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"catalog_harvested: use catalog_harvested.csv as source",
]
addopts = "--cov=udata_hydra --cov-report term-missing --cov-branch --cov-fail-under=80"
[tool.ty]
[tool.ty.rules]
invalid-argument-type = "ignore"
parameter-already-assigned = "ignore"
[tool.ruff]
lint = { extend-select = ["I"] } # ["I"] is to also sort imports with an isort rule
line-length = 100
[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"
[tool.uv.build-backend]
module-name = "udata_hydra"
module-root = ""