-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (80 loc) · 2.19 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (80 loc) · 2.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
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
[project]
name = "nmdc-metadata-suggestor-ai-tool"
version = "1.2.1"
description = "NMDC Submission portal metadata suggestor tool, powered by AI"
readme = "README.md"
requires-python = ">=3.12"
license = { file = "LICENSE" }
keywords = ["nmdc", "metadata", "doi", "llm", "bioinformatics"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Operating System :: OS Independent",
]
dependencies = [
"python-dotenv>=1.0.0",
"pydantic>=2.0.0",
"google-auth>=2.0.0",
"requests>=2.31.0",
"curl-cffi>=0.13.0",
"google-genai>=1.62.0",
"linkml-runtime>=1.7.0",
"nmdc-submission-schema>=11.0.0",
"openai>=2.21.0",
]
[project.urls]
Homepage = "https://github.com/microbiomedata/nmdc-metadata-suggestor-ai-tool"
Repository = "https://github.com/microbiomedata/nmdc-metadata-suggestor-ai-tool"
Issues = "https://github.com/microbiomedata/nmdc-metadata-suggestor-ai-tool/issues"
[dependency-groups]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.23.0",
"pytest-timeout>=2.3.0",
"ruff>=0.3.0",
"mypy>=1.8.0",
"responses>=0.25.0",
"types-requests>=2.31.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = [
"src/nmdc_metadata_suggestor_ai_tool",
]
[tool.hatch.build.targets.sdist]
include = [
"src/nmdc_metadata_suggestor_ai_tool",
"tests",
"LICENSE",
"README.md",
"pyproject.toml",
]
[tool.ruff]
extend-exclude = [
"scripts",
"src/nmdc_metadata_suggestor_ai_tool/system_prompt.py"
]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]
ignore = []
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"integration: hits real external APIs (deselect with -m 'not integration')",
]
addopts = "-m 'not integration'"