-
Notifications
You must be signed in to change notification settings - Fork 11
/
pyproject.toml
147 lines (137 loc) · 2.79 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
146
147
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
"setuptools-scm",
"wheel",
]
[project]
authors = [
{email = "[email protected]", name = "Alan R. Lowe"},
]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: napari",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Visualization",
]
dependencies = [
"matplotlib",
"napari-matplotlib>=0.2.1",
"napari>=0.4.0",
"numpy>=1.17.3",
"pandas",
"pooch>=1",
"qtpy",
"scikit-image",
"vispy",
]
description = "Track graph and lineage tree visualization with napari"
dynamic = [
"version",
]
name = "napari-arboretum"
readme = "README.md"
requires-python = ">=3.8"
entry-points."napari.manifest".napari-arboretum = "napari_arboretum:napari.yaml"
license.file = "LICENCE.md"
urls.homepage = "https://github.com/lowe-lab-ucl/arboretum"
[tool.coverage]
report = {skip_covered = true, sort = "cover"}
run = {branch = true, parallel = true, source = ["napari_arboretum"]}
paths.source = [
"src",
".tox*/*/lib/python*/site-packages",
]
[tool.mypy]
explicit_package_bases = true
plugins = [
"numpy.typing.mypy_plugin",
]
[tool.pytest.ini_options]
addopts = "--color=yes -v"
testpaths = [
"tests",
]
[tool.ruff]
fix = true
force-exclude = true
ignore = [
"B905", # python>=3.10
"EM101",
]
per-file-ignores = {"test_*" = [
"S101",
]}
select = [
"A",
"B",
"C",
"DTZ",
"E",
"EM",
"F",
"FBT",
"I",
"ICN",
"ISC",
"N",
"PLC",
"PLE",
"PLR",
"PLW",
"Q",
"RUF",
"S",
"SIM",
"T",
"TID",
"UP",
"W",
"YTT",
]
isort.known-first-party = ["napari_arboretum"]
mccabe.max-complexity = 18
[tool.setuptools_scm]
write_to = "src/napari_arboretum/_version.py"
[tool.tomlsort]
sort_inline_arrays = false
sort_inline_tables = true
sort_table_keys = true
spaces_indent_inline_array = 4
trailing_comma_inline_array = true
[tool.tox]
legacy_tox_ini = """
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
[testenv]
passenv =
CI
DISPLAY
GITHUB_ACTIONS
NUMPY_EXPERIMENTAL_ARRAY_FUNCTION
PYVISTA_OFF_SCREEN
XAUTHORITY
deps =
magicgui
napari
PySide2
pytest
pytest-cov
pytest-qt
pytest-xvfb ; sys_platform == 'linux'
commands = pytest --cov --cov-report=xml
[tox]
envlist = py{38,39,310}
isolated_build = True
"""