-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
102 lines (89 loc) · 2.61 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
[tool.poetry]
name = "ecoindex-monorepo"
version = "0.1.0"
description = ""
authors = ["Vincent Vatelot <vincent.vatelot@ik.me>"]
readme = "README.md"
packages = [
{ include = "development" },
{ include = "ecoindex/backend", from = "bases" },
{ include = "ecoindex/cli", from = "bases" },
{ include = "ecoindex/compute", from = "components" },
{ include = "ecoindex/config", from = "components" },
{ include = "ecoindex/data", from = "components" },
{ include = "ecoindex/database", from = "components" },
{ include = "ecoindex/exceptions", from = "components" },
{ include = "ecoindex/models", from = "components" },
{ include = "ecoindex/scraper", from = "components" },
{ include = "ecoindex/scripts", from = "components" },
{ include = "ecoindex/utils", from = "components" },
{ include = "ecoindex/worker_component", from = "components" },
{ include = "ecoindex/worker", from = "bases" },
]
[tool.poetry.dependencies]
aiofile = "^3.8.8"
loguru = "^0.7.2"
pydantic = "^2.4.2"
pydantic-settings = "^2.0.3"
python = ">=3.10,<3.13"
redis = { extras = ["hiredis"], version = "^5.0.1" }
requests = "^2.32.3"
tomli = "^2.0.1"
haralyzer = "^2.4.0"
python-slugify = "^8.0.4"
setuptools = "^74.0.0"
[tool.poetry.group.scraper.dependencies]
pillow = "^10.3.0"
playwright = "^1.39.0"
playwright-stealth = "^1.0.6"
[tool.poetry.group.cli.dependencies]
click-spinner = "^0.1.10"
jinja2 = "^3.1.3"
matplotlib = "^3.8.0"
pandas = "^2.1.2"
pyyaml = "^6.0.1"
rich = "^13.6.0"
scrapy = "^2.11.1"
typer = "^0.9.0"
[tool.poetry.group.api.dependencies]
aiosqlite = "^0.19.0"
alembic = "^1.12.1"
celery = "^5.3.4"
redis = "^5.0.1"
sqlmodel = "^0.0.14"
sentry-sdk = "^2.8.0"
[tool.poetry.group.api-backend.dependencies]
fastapi = "^0.109.1"
uvicorn = "^0.23.2"
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
mypy = "^1.7.0"
pytest = "^7.4.2"
pytest-asyncio = "^0.21.1"
pytest-cov = "^4.1.0"
ruff = "^0.1.1"
types-click-spinner = "^0.1.13.6"
types-pyyaml = "^6.0.12.12"
types-requests = "^2.31.0.10"
watchdog = "^3.0.0"
pytest-picked = "^0.5.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
update-values = "ecoindex.scripts:update_values"
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.mypy]
mypy_path = ["bases", "components"]
namespace_packages = true
explicit_package_bases = true
ignore_missing_imports = true
disallow_untyped_defs = false
exclude = ["test", "dist", "__pycache__"]
[tool.coverage.run]
omit = ["test/*"]
[tool.coverage.report]
skip_empty = true
[tool.pyright]
extraPaths = ["bases", "components"]