-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
79 lines (71 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
79 lines (71 loc) · 1.54 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "crime-detector-system"
version = "1.0.0"
description = "AI-powered crime detection and investigation management system"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
{ name = "RICHARD-OBENG", email = "richard@crimedetector.local" }
]
dependencies = [
"fastapi>=0.109.0",
"uvicorn>=0.27.0",
"pydantic>=2.0.0",
"sqlalchemy>=2.0.0",
"alembic>=1.12.0",
"python-dotenv>=1.0.0",
"numpy>=1.24.0",
"scikit-learn>=1.3.0",
"pandas>=2.0.0",
"httpx>=0.25.0",
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"black>=23.12.0",
"ruff>=0.1.8",
"mypy>=1.7.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.21.0",
"black>=23.12.0",
"ruff>=0.1.8",
"mypy>=1.7.0",
"ipython>=8.18.0",
]
docker = [
"docker>=6.1.0",
]
[tool.black]
line-length = 100
target-version = ["py310"]
extend-exclude = '''
/(
\.git
| \.venv
| venv
| build
| dist
| \.eggs
)/
'''
[tool.ruff]
line-length = 100
target-version = "py310"
select = ["E", "F", "W", "I", "N"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --cov=src --cov-report=html --cov-report=term-missing"