-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (124 loc) · 2.98 KB
/
Copy pathpyproject.toml
File metadata and controls
133 lines (124 loc) · 2.98 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=82.0.1", "setuptools-scm>=10.0.5" ]
[project]
name = "zedprofiler"
description = "CPU-first handcrafted 3D featurization toolkit for high-throughput profiling"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Mike Lippincott" },
{ name = "Dave Bunten" },
{ name = "Jenna Tomkinson" },
{ name = "Vincent Rubinetti" },
{ name = "Gregory Way" },
]
requires-python = ">=3.11,<3.15"
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
dependencies = [
"beartype>=0.19",
"bioio>=3.3",
"bioio-tifffile>=1.3",
"fire>=0.7.1",
"jinja2>=3.1.6",
"mahotas>=1.4.18",
"matplotlib>=3.10.9",
"pandas>=3.0.2",
"pandera>=0.31.1",
"pyarrow>=23.0.1",
"pydantic>=2.10",
"scikit-image>=0.26",
"scipy>=1.14",
"tomli>=2.4.1",
]
urls.Homepage = "https://zedprofiler.readthedocs.io"
urls.Repository = "https://github.com/WayScience/ZedProfiler"
scripts.ZedProfiler = "zedprofiler.cli:trigger"
[dependency-groups]
dev = [
"poethepoet>=0.44",
"pytest>=9.0.3",
"pytest-cov>=5",
"ruff>=0.15.10",
]
docs = [
"itables>=2",
"matplotlib>=3.10.9",
"myst-nb>=1.4",
"plotly>=6.8",
"pycytominer>=1.6",
"sphinx>=7",
"sphinx-rtd-theme>=3.1",
]
notebooks = [
"black>=26.3.1",
"isort>=8.0.1",
"jupyterlab>=4.5.6",
"jupyterlab-code-formatter>=3.0.3",
"jupytext>=1.19.1",
]
[tool.setuptools_scm]
version_file = "src/zedprofiler/_version.py"
version_scheme = "no-guess-dev"
local_scheme = "no-local-version"
root = "."
[tool.ruff]
target-version = "py311"
line-length = 88
# ignore all linting in the theoretical_explainations directory, which is used for testing and development of new features
extend-exclude = [
"theorectical_explainations/notebooks/interpolation_edge_demo.ipynb",
] # Ignore `E501` (line too long) for Jupyter notebooks
fix = true
lint.select = [
# flake8-builtins
"A",
# flake8-annotations
"ANN",
# flake8-comprehensions
"C4",
# mccabe
"C90",
# pycodestyle
"E",
# pyflakes
"F",
# isort
"I",
# pylint
"PL",
# ruff
"RUF",
# flake8-simplify
"SIM",
"W",
]
lint.per-file-ignores."*.ipynb" = [ "C408", "E402", "E501" ]
lint.per-file-ignores."src/**/__init__.py" = [ "F401" ]
lint.per-file-ignores."src/zedprofiler/featurization/neighbors.py" = [ "PLR0913", "PLR0917" ]
lint.per-file-ignores."src/zedprofiler/featurization/texture.py" = [ "RUF046" ]
[tool.codespell]
ignore-words-list = "doesnot,inout"
[tool.vulture]
paths = [ "src/zedprofiler", "tests" ]
min_confidence = 90
[tool.pytest]
ini_options.pythonpath = [ "." ]
[tool.jupytext]
formats = "ipynb,py:light"
[tool.poe]
# tasks for development environments
tasks.test.shell = """
pytest
"""
tasks.jupyter.shell = """
jupyter lab
"""