-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (78 loc) · 1.9 KB
/
pyproject.toml
File metadata and controls
91 lines (78 loc) · 1.9 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
87
88
89
90
91
[project]
name = "communitymech"
version = "0.1.0"
description = "Microbial Community Mechanisms Knowledge Base - LinkML-based modeling with evidence validation"
authors = [
{name = "CultureBotAI", email = "info@culturebot.ai"}
]
license = {text = "BSD-3-Clause"}
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"linkml>=1.7.0",
"linkml-runtime>=1.7.0",
"linkml-term-validator>=0.1.0",
"linkml-reference-validator>=0.1.0",
"pydantic>=2.0.0",
"pyyaml>=6.0",
"click>=8.0.0",
"jinja2>=3.0.0",
"oaklib>=0.5.0",
"requests>=2.31.0",
"numpy>=1.24.0",
"pandas>=2.0.0",
"umap-learn>=0.5.0",
"tqdm>=4.66.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
"pre-commit>=3.0.0",
]
koza = [
"koza>=0.5.0",
"biolink-model>=3.0.0",
]
validation = [
"linkml-validator>=0.4.0",
]
llm = [
"anthropic>=0.39.0",
"rich>=13.0.0",
]
[project.scripts]
communitymech = "communitymech.cli:main"
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "N", "S", "B", "A", "C4", "T20", "SIM"]
ignore = ["S101", "S603", "S607"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"e2e: End-to-end tests that require API key (deselect with '-m \"not e2e\"')",
"integration: Integration tests",
]
# By default, skip e2e tests (require explicit --e2e flag)
addopts = "-m 'not e2e'"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false