Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (78 loc) · 1.79 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (78 loc) · 1.79 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "exaspim-swc-processing"
description = "Processing and packaging of exaSPIM neuron SWC reconstructions into per-cell AIND derived data assets."
license = "MIT"
requires-python = ">=3.11,<3.14"
authors = [
{name = "Peter Grotz"}
]
classifiers = [
"Programming Language :: Python :: 3"
]
readme = "README.md"
version = "0.0.0"
dependencies = [
"aind-data-schema>=2.5.0,<3",
"aind-metadata-upgrader",
"numpy",
]
[dependency-groups]
dev = [
"ruff>=0.15.20,<1.0.0",
"pytest-cov>=7.1.0,<8.0.0",
"interrogate>=1.7.0,<2.0.0"
]
docs = [
"Sphinx>=9.1.0,<10.0.0",
"furo==2025.12.19"
]
[tool.uv.dependency-groups]
docs = { requires-python = ">=3.12" }
[tool.uv.sources]
aind-metadata-upgrader = { git = "https://github.com/AllenNeuralDynamics/aind-metadata-upgrader.git" }
[tool.hatch.build.targets.wheel]
packages = ["src/exaspim_swc_processing"]
[tool.pytest.ini_options]
addopts = [
"--cov=src",
"--cov-report=term-missing"
]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:",
"^from .* import .*",
"^import .*",
"pragma: no cover"
]
fail_under = 100
[tool.ruff]
preview = true
src = ["src", "tests"]
include = ["*.py", "*.pyi", "**/pyproject.toml"]
exclude = [
".git",
".mypy_cache",
".ruff_cache",
".venv",
"venv",
"build",
"dist",
"docs"
]
line-length = 100
[tool.ruff.lint]
select = ["I", "E", "F", "W", "ANN", "W505", "D", "DOC"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 100
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.format]
docstring-code-format = true
[tool.interrogate]
ignore-init-methods = true
ignore-init-module = true
exclude = ["docs", "build", ".conda", ".venv", "env"]
fail-under = 100