-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
87 lines (77 loc) · 1.91 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64", "wheel", "setuptools_scm>=8"]
[project]
name = "motile_toolbox"
description = "A toolbox for tracking with (motile)[https://github.com/funkelab/motile]."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
]
keywords = []
license = { text = "BSD 3-Clause License" }
authors = [
{ email = "malinmayorc@janelia.hhmi.org", name = "Funke Lab" },
]
dynamic = ["version"]
dependencies = [
"motile",
"networkx",
"numpy",
"matplotlib",
"scikit-image",
"tqdm",
"zarr",
"plotly",
]
[project.optional-dependencies]
dev = [
'pytest',
'pytest-cov',
'mypy',
'pdoc',
'pre-commit',
'types-tqdm',
'pytest-unordered',
'ruff',
]
[project.urls]
homepage = "https://github.com/funkelab/motile_toolbox"
repository = "https://github.com/funkelab/motile_toolbox"
[tool.setuptools_scm]
[tool.coverage.run]
omit = ["src/motile_toolbox/visualization/*"]
# https://github.com/charliermarsh/ruff
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # style errors
"F", # flakes
"I001", # isort
"U", # pyupgrade
"S", # bandit
"C", # flake8-comprehensions
"B", # flake8-bugbear
"A001", # flake8-builtins
"RUF", # ruff-specific rules
"D", # documentation
]
ignore = [
"D100", # Missing docstring in public mod
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D107", # Missing docstring in `__init__
"D205", # 1 blank line required between summary and description
"S101", # Use of assert detected
]
unfixable = [
"B905", # currently adds strict=False to zips. Should add strict=True (manually)
]
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["D", "S"]
"*/__init__.py" = ["F401", "D"]
[tool.ruff.lint.pydocstyle]
convention = "google"