-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
89 lines (78 loc) · 2.37 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
[build-system]
requires = ["setuptools>=70", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "motile-plugin"
dynamic = ["version"]
description = "Tracking with motile"
readme = "README.md"
license = { text = "BSD 3-Clause License" }
requires-python = ">=3.10"
authors = [
{ name = "Caroline Malin-Mayor", email = "malinmayorc@janelia.hhmi.org" },
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Framework :: napari",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Image Processing",
]
dependencies =[
"napari[all]",
"numpy",
"magicgui",
"qtpy",
"scikit-image",
"motile >= 0.3",
"motile_toolbox == 0.3.5",
"pydantic",
"tifffile[all]",
"fonticon-fontawesome6",
"pyqtgraph",
"lxml_html_clean", # only to deal with napari dependencies being broken
]
[project.optional-dependencies]
testing =["napari", "pyqt5", "pytest", "pytest-cov", "pytest-qt"]
docs = ["myst-parser", "sphinx", "sphinx-autoapi", "sphinx_rtd_theme", "sphinxcontrib-video"]
[project.entry-points."napari.manifest"]
motile-plugin = "motile_plugin:napari.yaml"
[project.urls]
"Bug Tracker" = "https://github.com/funkelab/motile-napari-plugin/issues"
"Documentation" ="https://funkelab.github.io/motile_napari_plugin/"
[tool.setuptools_scm]
[tool.ruff]
line-length = 88
target-version = "py310"
fix = true
[tool.ruff.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
]
ignore = [
"UP006", "UP007", # type annotation. As using magicgui require runtime type annotation then we disable this.
"ISC001", # implicit string concatenation
"E501", # line too long
]
[tool.ruff.lint.per-file-ignores]
"scripts/*.py" = ["F"]
# https://docs.astral.sh/ruff/formatter/
[tool.ruff.format]
[tool.mypy]
ignore_missing_imports = true