File size: 2,104 Bytes
64f63d2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1623907
64f63d2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
80
81
82
83
84
85
86
87
[project]
name = "mio-data-pipeline"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
    "chainlit>=2.5.5",
    "fastembed>=0.6.1",
    "google-cloud-storage>=3.1.0",
    "langchain>=0.3.24",
    "langchain-cohere>=0.4.4",
    "langchain-google-genai>=2.1.3",
    "langchain-openai>=0.3.14",
    "langchain-qdrant>=0.2.0",
    "loguru>=0.7.3",
    "notebook>=7.4.0",
    "pydantic-settings>=2.8.1",
    "ruff>=0.11.5",
    "unstructured-client>=0.32.3",
    "websockets>=15.0.1",
]

[tool.ruff]
extend-exclude = [
    ".venv",
]

[tool.ruff.lint]
# https://docs.astral.sh/ruff/settings
ignore = [
    "B008",  # do not perform function calls in argument defaults
    "C901",  # too complex
    "W191",  # indentation contains tabs
    "E501",  # line too long, handled by formatter
    "N818",  # error-suffix-on-exception-name, controversial
    "RUF012", # mutable-class-default, controversial
]
# https://docs.astral.sh/ruff/rules/
select = [
    # ----------- Musthave ----------
    "E",   # pycodestyle errors     |
    "W",   # pycodestyle warnings   |
    "F",   # pyflakes               |
    "I",   # isort                  |
    "C",   # flake8-comprehensions  |
    "B",   # flake8-bugbear         |
    "N",   # pep8 namings           |
    "UP",  # pyupgrade              |
    "RUF", # ruff-specific rules    |
    # -------------------------------
    "T10",  # debugger usage
]

[tool.ruff.format]
skip-magic-trailing-comma = true

[tool.ruff.lint.per-file-ignores]
# ...

[tool.ruff.lint.pyupgrade]
# Preserve types, even if a file imports `from __future__ import annotations`.
keep-runtime-typing = true

[tool.ruff.lint.isort]
lines-after-imports = 2
split-on-trailing-comma = false

[tool.mypy]
python_version = 3.13
ignore_missing_imports = true
allow_redefinition = true
warn_no_return = true
check_untyped_defs = true
disallow_untyped_defs = true
warn_unused_ignores = true
follow_imports = "skip"
exclude = [
    "venv",
    "env",
    ".ve",
    "tests",
    "models",
    "enums",
    "fill_db.py"
]