-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
145 lines (128 loc) · 2.63 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[project]
name = "np-workflows"
version = "1.6.84"
description = "Ecephys and behavior workflows for the Mindscope Neuropixels team."
authors = [
{ name = "Ben Hardcastle", email = "[email protected]" },
]
readme = "README.md"
requires-python = "==3.11.*"
dependencies = [
"np-services>=0.1.69",
"np-session>=0.6.48",
"np-config>=0.4.33",
"ipywidgets>=7",
"pydantic>=2",
"jupyterlab >= 3.6",
"ipylab >= 0.6.0",
"np-tools>=0.1.24",
"np-jobs>=0.0.3",
"universal-pathlib>=0.1.0",
"s3fs>=2023.6.0",
"npc-shields>=0.1.10",
"npc-sessions>=0.0.225",
"np-codeocean[dynamic-routing-metadata]>=0.2.1",
"panel>=1.4.5",
"aind-session>=0.1.20",
"jupyter-bokeh>=4.0.5",
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
]
[project.license]
text = "MIT"
[project.urls]
Repository = "https://github.com/AllenInstitute/np_workflows"
Issues = "https://github.com/AllenInstitute/np_workflows/issues"
[project.optional-dependencies]
dev = [
"blue>=0.9.1",
"pytest>=7.2.2",
"mypy>=1.1.1",
"coverage[toml]>=7.2.2",
"pytest-cov>=4.0.0",
"bump>=1.3.2",
"types-backports>=0.1.3",
"ruff>=0.0.260",
]
[tool.pdm]
plugins = [
"pdm-bump>=0.7.3",
]
[tool.pdm.build]
includes = [
"src/np_workflows",
]
[tool.pdm.scripts]
ruff = "ruff check src --fix-only"
black = "black src"
test = "pytest"
bumpver = "pdm bump micro"
[tool.pdm.scripts.prebuild]
composite = [
"black",
"ruff",
"test",
]
[tool.pdm.scripts.build]
composite = [
"prebuild",
"pdm build",
]
[tool.pdm.scripts.dryrun]
composite = [
"prebuild",
"pdm build",
"pdm publish --no-build --repository https://test.pypi.org/simple",
]
[tool.pdm.scripts.publish]
composite = [
"prebuild",
"pdm build",
"pdm publish --no-build",
]
[tool.pdm.scripts.pub]
composite = [
"bumpver",
"pdm publish",
]
[tool.ruff]
ignore-init-module-imports = true
line-length = 79
[tool.coverage.paths]
source = [
"src",
]
[tool.coverage.run]
branch = true
source = [
"src",
]
omit = [
"*__init__*",
]
[tool.coverage.report]
show_missing = true
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"--doctest-modules",
"--ignore-glob=*sandbox*,*pretest*",
]
doctest_optionflags = [
"NORMALIZE_WHITESPACE",
"IGNORE_EXCEPTION_DETAIL",
"ELLIPSIS",
]
testpaths = [
"tests",
]
[build-system]
requires = [
"pdm-backend",
]
build-backend = "pdm.backend"