Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (53 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
58 lines (53 loc) · 1.46 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
[project]
name = "fatsecret"
version = "5.1.1"
description = "Python wrapper for the Fatsecret API"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"bs4",
"lxml",
"pydantic>=2.7",
"python-dotenv",
"requests>=2.32,<3",
"requests-oauthlib>=2.0.0",
"tenacity>=9.0",
]
[project.optional-dependencies]
facade = [
"fastapi>=0.116,<1",
"uvicorn>=0.35,<1",
]
[project.scripts]
fatsecret-member-api = "fatsecret.web.facade_cli:main"
[project.urls]
Documentation = "https://fatsecret.readthedocs.io/"
Source = "https://github.com/ChocoTonic/fatsecret"
Issues = "https://github.com/ChocoTonic/fatsecret/issues"
Changelog = "https://github.com/ChocoTonic/fatsecret/releases"
[tool.pytest.ini_options]
pythonpath = ["src"]
markers = ["integration: mark a test as an integration test"]
filterwarnings = [
# Suppress our own deprecation warnings inside the test suite. The
# legacy aliases call `warnings.warn(stacklevel=2)` so the warning
# registers as coming from the test file, not the fatsecret module —
# match by message instead of module.
"ignore:Fatsecret\\..*is deprecated.*:DeprecationWarning",
]
[dependency-groups]
dev = [
"black",
"isort",
"pytest-cov",
"pytest",
"ruff",
"openapi-spec-validator>=0.7.2,<0.10",
"furo>=2024.8.6",
"sphinx>=7.4.7",
"pyyaml>=6.0",
"autodoc-pydantic>=2.0",
"fastapi>=0.116,<1",
"httpx>=0.28,<1",
"readthedocs-sphinx-search>=0.3.2",
]