-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
111 lines (98 loc) · 2.64 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
# package build
# https://peps.python.org/pep-0517/
[build-system]
requires = ["setuptools>=65", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[project]
name = "bioio-ome-zarr"
description = "A BioIO reader plugin for reading Zarr files in the OME format."
keywords = []
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT License" }
authors = [
{ email = "[email protected]", name = "bioio-devs" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dynamic = ["version"]
dependencies = [
"bioio-base>=1.0.0",
"fsspec>=2022.8.0",
"ome-zarr>=0.9.0",
"xarray>=0.16.1",
"zarr>=2.18.2",
]
[project.urls]
Homepage = "https://github.com/BrianWhitneyAI/bioio-ome-zarr"
"Bug Tracker" = "https://github.com/BrianWhitneyAI/bioio-ome-zarr/issues"
"User Support" = "https://github.com/BrianWhitneyAI/bioio-ome-zarr/issues"
# extra dependencies
# https://peps.python.org/pep-0621/#dependencies-optional-dependencies
[project.optional-dependencies]
lint = [
"pre-commit>=2.20.0",
]
test = [
"coverage>=5.1",
"pytest>=5.4.3",
"pytest-cov>=2.9.0",
"pytest-raises>=0.11",
"quilt3", # no pin to avoid pip cycling (boto is really hard to manage)
]
# entry points
# https://peps.python.org/pep-0621/#entry-points
[project.entry-points."bioio.readers"]
bioio-ome-zarr = "bioio_ome_zarr"
# build settings
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["*docs/*", "*tests/*"]
[tool.setuptools.package-data]
"*" = ["*.yaml", "py.typed"]
# tools
[tool.black]
line-length = 88
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 88
multi_line_output = 3
profile = "black"
use_parentheses = true
# https://github.com/mgedmin/check-manifest#configuration
[tool.check-manifest]
ignore = [
".editorconfig",
".pre-commit-config.yaml",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"Justfile",
".cookiecutter.yaml",
"scripts/*",
]
[tool.mypy]
files = "bioio_ome_zarr/*.py"
ignore_missing_imports = true
disallow_untyped_defs = true
check_untyped_defs = true
show_error_codes = true
# https://flake8.pycqa.org/en/latest/user/options.html
# https://gitlab.com/durko/flake8-pyprojecttoml
[tool.flake8]
max-line-length = 88
ignore = "E203,E402,W291,W503"
min-python-version = "3.9.0"
per-file-ignores = [
"__init__.py:F401",
]