-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
108 lines (100 loc) · 2.22 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "napari-wsi"
version = "1.1.0"
description = "A plugin to read whole-slide images within napari."
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
license-files = [
"LICENSE",
]
authors = [
{ name = "Philipp Plewa", email = "philipp.plewa@astrazeneca.com" },
]
maintainers = [
{ name = "Philipp Plewa", email = "philipp.plewa@astrazeneca.com" },
{ name = "Robert Schweizer", email = "robert.schweizer@astrazeneca.com" },
]
classifiers = [
"Framework :: napari",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Image Processing",
]
dependencies = [
"dask>=2025.1",
"magicgui>=0.10",
"numpy>=1.26",
"pillow>=11.1",
"universal-pathlib>=0.2",
"zarr>=3.0",
]
[project.optional-dependencies]
openslide = [
"openslide-python>=1.4",
]
rasterio = [
"rasterio>=1.4",
]
wsidicom = [
"colorspacious>=1.1.2",
"pandas>=2.0",
"shapely>=2.0",
"wsidicom>=0.22",
]
all = [
"napari-wsi[openslide,rasterio,wsidicom]"
]
[dependency-groups]
dev = [
"invoke>=2.2.0",
"mypy>=1.14",
"napari[optional]>=0.5.6",
"openslide-bin>=4.0",
"pandas-stubs>=2.2",
"pyqt5>=5.15",
"pytest>=8.3",
"pytest-cov>=6.0",
"pytest-qt>=4.4",
"ruff>=0.9",
"scikit-image>=0.25",
]
[project.urls]
Repository = "https://github.com/AstraZeneca/napari-wsi"
[project.entry-points."napari.manifest"]
napari-wsi = "napari_wsi:napari.yaml"
[tool.mypy]
check_untyped_defs = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = [
"colorspacious.*",
"napari.*",
"rasterio.*",
"shapely.*",
"wsidicom.*",
]
[tool.ruff]
target-version = "py310"
line-length = 88
lint.select = [
"E", "F", "W", #flake8
"UP", # pyupgrade
"I", # isort
"BLE", # flake8-blind-exception
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"G", # flake8-logging-format
"PIE", # flake8-pie
"SIM", # flake8-simplify
]
lint.ignore = [
"B028", # for warnings
"ISC001", # for ruff
]