-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (59 loc) · 1.54 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
# 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 = "liv_zones"
description = "Extract organelle specific features from fluorescent liver cell cross-section images"
readme = "README.md"
license = { text = "MIT" }
authors = [
{ name = 'Alex Hillsley', email = '[email protected]' },
]
dynamic = ["version"]
dependencies = ["numpy", "pandas", "scikit-image", "cellpose", "matplotlib"]
[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",
"ipykernel"
]
[project.urls]
homepage = "https://github.com/hillsleya/liv_zones"
# https://hatch.pypa.io/latest/version/
[tool.hatch.version]
path = "liv_zones/__init__.py"
# https://beta.ruff.rs/docs
[tool.ruff]
target-version = "py38"
src = ["liv_zones"]
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 = "liv_zones"
strict = false
allow_untyped_defs = true
# allow_untyped_calls = true
disallow_any_generics = false
ignore_missing_imports = true