-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathpyproject.toml
More file actions
115 lines (102 loc) · 2.94 KB
/
pyproject.toml
File metadata and controls
115 lines (102 loc) · 2.94 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
[build-system]
requires = [
"setuptools>=77.0.3",
"setuptools-scm>=8.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "ome-zarr"
readme = "README.rst"
dynamic = ["version"]
description="Implementation of images in Zarr files."
license = "BSD-2-Clause"
license-files = ["LICENSE"]
requires-python = ">3.10"
dependencies = [
"numpy",
"dask>=2025.12.0, <=2026.1.1",
"zarr>=3.0.0",
"fsspec[s3]>=0.8,!=2021.07.0,!=2023.9.0",
"aiohttp",
"requests",
"scikit-image>=0.19.0",
"toolz",
"rangehttpserver",
"Deprecated",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
authors = [
{name = "The Open Microscopy Team"},
]
[project.entry-points."console_scripts"]
ome_zarr = "ome_zarr.cli:main"
[dependency-groups]
tests = [
"pytest",
]
[project.urls]
Documentation = "https://ome-zarr.readthedocs.io"
Repository = "https://github.com/ome/ome-zarr-py"
Changelog = "https://github.com/ome/ome-zarr-py/blob/master/CHANGELOG.md"
[tool.ruff.lint]
extend-select = [
"S", # flake8-bandit
"BLE", # flake8-blind-except
"B", # flake8-bugbear
"A", # flake8-builtins
"C4", # flake8-comprehensions
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
"G", # flake8-logging-format
"PIE", # flake8-pie
"PYI", # flake8-pyi
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
"FLY", # flynt
"I", # isort
"PERF", # Perflint
# "D", # pydocstyle # FIXME
"PGH", # pygrep-hooks
"PLE", # Pylint Error
"PLR", # Pylint Refactor
"PLW", # Pylint Warning
"UP", # pyupgrade
"FURB", # refurb
"RUF", # Ruff-specific rules
]
ignore = [
"S101", # assert
"S311", # suspicious-non-cryptographic-random-usage
"S314", # suspicious-xml-element-tree-usage # FIXME
"B007", # unused-loop-control-variable
"B008", # function-call-in-default-argument # FIXME
"B011", # assert-false
"B024", # abstract-base-class-without-abstract-method # FIXME
"B028", # no-explicit-stacklevel
"B905", # zip-without-explicit-strict
"C408", # unnecessary-collection-call
"SIM108", # if-else-block-instead-of-if-exp
"PERF203", # try-except-in-loop
"PLR09", # too-many-...
"PLR2004", # magic-value-comparison
"PLW1641", # eq-without-hash # FIXME
"RUF005", # collection-literal-concatenation
]
[tool.ruff.lint.extend-per-file-ignores]
"ome_zarr/csv.py" = ["A005"]
"ome_zarr/io.py" = ["A005"]
"ome_zarr/types.py" = ["A005"]
"tests/*.py" = ["SIM201", "D"]
[tool.setuptools]
packages = ["ome_zarr"]
py-modules = ["ome_zarr"]
[tool.setuptools_scm]
version_file = "ome_zarr/_version.py"