-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (48 loc) · 1.19 KB
/
pyproject.toml
File metadata and controls
54 lines (48 loc) · 1.19 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
[project]
name = "findoc-rag"
version = "0.1.0"
description = "Financial Document Intelligence Platform — RAG system for SEC filings"
requires-python = ">=3.12"
[tool.ruff]
target-version = "py312"
line-length = 120
src = ["services/*/src"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"TCH", # flake8-type-checking
]
ignore = ["E501"] # line length handled by formatter
[tool.ruff.lint.isort]
known-first-party = ["src"]
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true
[[tool.mypy.overrides]]
module = [
"confluent_kafka.*",
"sentence_transformers.*",
"tiktoken.*",
"pgvector.*",
"slowapi.*",
"ragas.*",
"prometheus_client.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = [
"services/ingestion/tests",
"services/embedding-worker/tests",
"services/query-api/tests",
]
addopts = "--cov=services --cov-report=term-missing --cov-fail-under=80"