-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
99 lines (91 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[build-system]
build-backend = "flit_core.buildapi"
requires = [
"flit_core >=3.4,<4",
"importlib_metadata>=0.7; python_version < '3.8'",
]
[project]
name = "merfishing"
description = "Code for MERFISH analysis"
authors = [
{ name = "Hanqing Liu" },
]
maintainers = [
{ name = "Hanqing Liu", email = "hanliu@salk.edu" },
]
urls.Documentation = "https://merfishing.readthedocs.io/"
urls.Source = "https://github.com/lhqing/merfishing"
urls.Home-page = "https://github.com/lhqing/merfishing"
version = "0.2.1"
requires-python = ">=3.8"
license = { file = "LICENSE" }
readme = "README.md"
dependencies = [
"anndata",
"zarr",
"tifffile",
"xarray",
"opencv-python",
"shapely",
"matplotlib",
"cellpose",
"torch",
"tables",
"big-fish",
"numpy",
"tqdm"
]
[project.optional-dependencies]
dev = [
# dev version generation
"bump2version",
"pre-commit"
]
doc = [
"jupyter-book",
"ghp-import",
"matplotlib",
"numpy"
]
test = [
"pytest",
"pytest-cov",
]
[tool.coverage.run]
source = ["merfishing"]
omit = [
"**/test_*.py",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
xfail_strict = true
addopts = [
"--import-mode=importlib", # allow using test files with same name
]
[tool.isort]
include_trailing_comma = true
multi_line_output = 3
profile = "black"
skip_glob = ["docs/*"]
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.jupytext]
formats = "ipynb,md"