-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (38 loc) · 980 Bytes
/
pyproject.toml
File metadata and controls
45 lines (38 loc) · 980 Bytes
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
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "MedicalGraphRAGSystem"
version = "1.0.0"
description = "医药知识图谱智能问答系统"
requires-python = ">=3.10"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "MedicalGraphRAGSystem Contributors"},
]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"W", # pycodestyle warnings
"UP", # pyupgrade
]
ignore = ["E501"] # line too long handled by formatter
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint.isort]
known-first-party = ["qa_engine", "KBQA", "graphrag", "knowledge_graph", "server"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true