-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (80 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (80 loc) · 1.82 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
80
81
82
83
84
85
86
[project]
name = "UMLBot"
version = "0.1.0"
description = "PoC"
requires-python = ">=3.11"
dependencies = [
# Runtime ---------------------------------------------------------------
"aiweb-common @ git+https://github.com/UABPeriopAI/llm_utils.git@develop",
"fastapi>=0.118.3",
"langchain-openai>=1.1.14",
"openai>=2.20.0",
"Pillow>=12.2.0",
"python-multipart>=0.0.26",
"rich>=14.2.0",
"streamlit>=1.50.0",
"uvicorn>=0.37.0",
# Pinned transitive deps to fix known vulnerabilities
"aiohttp>=3.14.0",
"pyjwt>=2.13.0",
"starlette>=1.0.1",
# Dev / CI (--no-dev unreliable on Azure, so these stay here) -----------
"autopep8",
"black",
"flake8",
"isort",
"mkdocs",
"mkdocs-material",
"mkdocs-monorepo-plugin",
"mkdocstrings[python]",
"pytest",
"pytest-asyncio",
]
# Black formatting
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
.eggs # exclude a few common directories in the
| .git # root of the project
| .hg
| .mypy_cache
| .tox
| .venv
| venv
| env
| _build
| buck-out
| build
| dist
| data
)/
'''
[tool.autopep8]
max_line_length = 100
ignore = "E501,W6" # or ["E501", "W6"]
in-place = true
recursive = true
list_fixes= true
exclude=["autopep8"]
aggressive = 2
# iSort
[tool.isort]
profile = "black"
line_length = 100
multi_line_output = 3
include_trailing_comma = true
virtual_env = "venv"
[tool.uv.sources]
aiweb-common = { git = "https://github.com/UABPeriopAI/llm_utils.git", branch = "develop" }
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["."]
[tool.pytest.ini_options]
asyncio_mode = "auto"
filterwarnings = [
"ignore::pydantic.warnings.PydanticDeprecatedSince20",
]