-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (59 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
68 lines (59 loc) · 1.38 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "llm-bot-pipeline"
version = "0.1.0"
description = "Server-side query fan-out session reporting for LLM bot traffic analysis"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "Proprietary"}
authors = [
{name = "Data Team"}
]
dependencies = [
"google-cloud-bigquery>=3.20.0",
"google-api-core>=2.18.0",
"cloudflare>=3.0.0",
"python-dateutil>=2.8.2",
"pyyaml>=6.0.0",
]
[project.optional-dependencies]
dev = [
"black>=24.0.0",
"isort>=5.13.0",
"pytest>=8.0.0",
"pytest-benchmark>=4.0.0",
"pytest-cov>=4.1.0",
]
[tool.coverage.run]
source = ["src/llm_bot_pipeline/ingestion"]
branch = true
omit = [
"*/tests/*",
"*/__pycache__/*",
]
[tool.coverage.report]
fail_under = 70 # Lowered from 75%; Cloudflare API code requires mocking
show_missing = true
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"if __name__ == .__main__.:",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 88
target-version = ["py310"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 88
known_first_party = ["llm_bot_pipeline"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]