-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
123 lines (107 loc) · 2.81 KB
/
pyproject.toml
File metadata and controls
123 lines (107 loc) · 2.81 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[build-system]
requires = ["uv_build>=0.8.22"]
build-backend = "uv_build"
[project]
name = "aind-clabe"
description = "A library for a minimal framework that can be used to build experimental interfaces."
authors = [{ name = "Bruno Cruz", email = "bruno.cruz@alleninstitute.org" }]
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.11"
version = "0.10.0rc4"
readme = { file = "README.md", content-type = "text/markdown" }
classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: Microsoft :: Windows",
]
dependencies = [
"pydantic>=2.7",
"pydantic-settings",
"gitpython",
"requests",
"semver",
"rich",
"aind_behavior_services >= 0.13rc0",
"questionary",
]
[project.urls]
Documentation = "https://allenneuraldynamics.github.io/clabe/"
Repository = "https://github.com/AllenNeuralDynamics/clabe/"
Issues = "https://github.com/AllenNeuralDynamics/clabe/issues"
Changelog = "https://github.com/AllenNeuralDynamics/clabe/releases"
[project.optional-dependencies]
aind-services = [
"requests",
"pyyaml",
"pykeepass",
"ms-active-directory",
"cryptography",
"winkerberos; sys_platform == 'win32'",
"ldap3; sys_platform == 'win32'",
"msal; sys_platform == 'win32'",
"aind-data-schema>=2",
"aind-data-transfer-service >= 1.22.0",
"aind-watchdog-service >= 0.1.6",
]
[dependency-groups]
dev = [
"ruff",
"codespell",
"coverage",
'pytest',
'pytest-cov',
'pytest-asyncio',
'interrogate',
"aind-clabe[aind-services]",
]
docs = [
"aind-clabe[aind-services]",
'mkdocs',
'mkdocs-material',
'mkdocstrings[python]',
'pymdown-extensions',
]
[project.scripts]
clabe = "clabe.cli:main"
[tool.uv]
default-groups = ['dev']
[tool.uv.build-backend]
module-name = "clabe"
[tool.ruff]
line-length = 120
target-version = "py311"
exclude = ["tests/assets/*"]
[tool.ruff.lint]
extend-select = ["Q", "RUF100", "C90", "I"]
extend-ignore = []
mccabe = { max-complexity = 14 }
pydocstyle = { convention = "google" }
[tool.codespell]
skip = '.git,*.pdf,*.svg,./bonsai,*.bonsai,./docs/_build,uv.lock'
ignore-words-list = "nd, assertIn"
[tool.pytest.ini_options]
addopts = "--strict-markers --tb=short --cov=src --cov-report=term-missing --ignore=tests/assets"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = ["asyncio: mark test as requiring asyncio"]
[tool.interrogate]
ignore-init-method = true
ignore-magic = true
ignore_module = true
ignore_nested_functions = true
ignore_overloaded_functions = true
ignore-private = true
fail-under = 100
exclude = [
"__init__.py",
"tests",
"docs",
"build",
"setup.py",
"examples",
"site",
]