-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (94 loc) · 1.84 KB
/
pyproject.toml
File metadata and controls
104 lines (94 loc) · 1.84 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
92
93
94
95
96
97
98
99
100
101
102
103
104
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "aind-data-access-api"
description = "API to interact with a few AIND databases"
license = {text = "MIT"}
requires-python = ">=3.8"
authors = [
{name = "Allen Institute for Neural Dynamics"}
]
classifiers = [
"Programming Language :: Python :: 3"
]
readme = "README.md"
dynamic = ["version"]
dependencies = [
"requests",
"boto3",
"pydantic>=2.0,<2.12",
"pydantic-settings>=2.0",
]
[project.optional-dependencies]
dev = [
"black",
"coverage",
"flake8",
"interrogate",
"isort",
"Sphinx",
"furo",
"aind-data-access-api[full]",
]
secrets = [
]
docdb = [
"pymongo==4.3.3",
"sshtunnel"
]
rds = [
"psycopg2-binary==2.9.5",
"pandas>=2.0.0,<2.2.0",
"SQLAlchemy==1.4.49"
]
helpers = [
"aind-data-schema>=1.1.0,<2.0",
"pandas",
]
full = [
"aind-data-access-api[secrets]",
"aind-data-access-api[docdb]",
"aind-data-access-api[rds]",
"aind-data-access-api[helpers]",
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = {attr = "aind_data_access_api.__version__"}
[tool.black]
line-length = 79
target_version = ['py38']
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__*"]
source = ["aind_data_access_api", "tests"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"^from .* import .*",
"^import .*",
"pragma: no cover"
]
fail_under = 100
[tool.isort]
line_length = 79
profile = "black"
[tool.interrogate]
exclude = ["setup.py", "docs", "build"]
fail-under = 100