-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
101 lines (88 loc) · 1.88 KB
/
pyproject.toml
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
92
93
94
95
96
97
98
99
100
101
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "aind_metadata_service"
description = "REST service to retrive metadata from databases."
license = {text = "MIT"}
authors = [
{name = "Allen Institute for Neural Dynamics"}
]
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3"
]
readme = "README.md"
dynamic = ["version"]
dependencies = [
'pydantic-settings>=2.0',
'pydantic>=2.10',
'aind-metadata-mapper[bergamo]==0.21.0',
'aind-data-schema==1.2.0',
'typing-extensions==4.12.2'
]
[project.optional-dependencies]
dev = [
'aind-metadata-service[server]',
'aind-metadata-service[client]',
'black',
'coverage',
'flake8',
'interrogate',
'isort',
'Sphinx',
]
server = [
'pyodbc==5.1.0',
'office365-rest-python-client==2.4.1',
'smartsheet-python-sdk==3.0.2',
'fastapi==0.115.0',
'uvicorn[standard]==0.31.0',
'python-dateutil',
'aind-slims-api==0.1.17',
'azure-identity==1.15.0'
]
client = [
'requests'
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "aind_metadata_service.__version__"}
readme = {file = ["README.md"]}
[tool.black]
line-length = 79
target_version = ['py310']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
| .gitignore
)
'''
[tool.coverage.run]
omit = ["*__init__*","*server*"]
source = ["aind_metadata_service", "tests"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"from",
"import",
"pragma: no cover"
]
fail_under = 100
[tool.isort]
line_length = 79
profile = "black"
[tool.interrogate]
exclude = ["setup.py", "docs", "build"]
fail-under = 100