-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
77 lines (69 loc) · 1.62 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
# https://peps.python.org/pep-0517/
# https://hatch.pypa.io/latest/config/build/
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# https://peps.python.org/pep-0621/
[project]
name = "blinx"
description = "Counting of binding sites in fluorescence traces"
readme = "README.md"
license = { text = "MIT" }
authors = [
{ name = 'Jan Funke', email = '[email protected]' },
{ name = 'Alex Hillsley', email = '[email protected]' },
]
dynamic = ["version"]
dependencies = [
"numpy",
"scipy",
"jax",
"jaxlib",
"optax",
"scikit-image",
"tqdm",
"pandas",
"h5py",
"funlib.geometry"]
[project.optional-dependencies]
dev = ["pre-commit", "pytest", "pytest-cov", "ruff", "twine", "build"]
test = ["pytest", "pytest-cov"]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx_togglebutton",
"tomli",
"jupyter_sphinx",
"plotly",
]
[project.urls]
homepage = "https://github.com/funkelab/blinx"
# https://hatch.pypa.io/latest/version/
[tool.hatch.version]
path = "blinx/__init__.py"
# https://beta.ruff.rs/docs
[tool.ruff]
target-version = "py38"
src = ["blinx"]
select = [
"F", # pyflakes
"E", # pycodestyle
"I", # isort
"UP", # pyupgrade
"RUF", # ruff specific rules
]
# https://coverage.readthedocs.io/en/6.4/config.html
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"pragma: ${PY_MAJOR_VERSION} no cover",
"if TYPE_CHECKING:",
"\\.\\.\\.",
]
[tool.mypy]
files = "blinx"
strict = false
allow_untyped_defs = true
# allow_untyped_calls = true
disallow_any_generics = false
ignore_missing_imports = true