forked from open-edge-platform/edge-ai-suites
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (66 loc) · 1.3 KB
/
pyproject.toml
File metadata and controls
73 lines (66 loc) · 1.3 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
version = "1.0.0"
name="Smart-Traffic-Intersection-Agent"
requires-python = ">=3.10"
dependencies = [
"fastapi==0.128.0",
"uvicorn[standard]==0.40.0",
"paho-mqtt==2.1.0",
"aiohttp==3.13.3",
"structlog==23.2.0",
"pydantic==2.9.2",
"python-dateutil==2.8.2",
"python-dotenv==1.0.0",
"gradio==6.2.0",
"pillow>=12.1.1,<13.0",
"markdown>=3.4.0",
"requests==2.32.5",
"huggingface_hub==0.36.0",
]
[project.optional-dependencies]
dev = [
"pytest==7.4.3",
"pytest-asyncio==0.21.1",
"httpx==0.25.2",
"black==26.1.0",
"flake8==6.1.0",
"mypy==1.7.1",
]
[project.scripts]
traffic-intelligence = "traffic_intelligence.main:main"
[tool.hatch.build.targets.wheel]
packages = ["traffic_intelligence"]
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --strict-markers"
testpaths = [
"tests",
]
asyncio_mode = "auto"