-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (81 loc) · 2.1 KB
/
pyproject.toml
File metadata and controls
89 lines (81 loc) · 2.1 KB
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 = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "jointly-hic"
description = "Genomics research toolkit for jointly embedding Hi-C 3D chromatin contact matrices into the same vector space"
authors = [
{name = "Thomas Reimonn", email = "thomas.reimonn@umassmed.edu"},
{name = "Guoyun Chen", email = "guoyun.chen5@umassmed.edu"},
{name = "Nezar Abdennur", email = "nezar.abdennur@umassmed.edu"},
{name = "Hoang Tran", email ="hoang.tran5@umassmed.edu"}
]
readme = "README.md"
license = {text = "GPL-3.0"}
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"bioframe>=0.8.0",
"cooler>=0.10.3",
"cooltools>=0.7.1",
"cython>3.0.5",
"datashader>=0.17.0",
"leidenalg>=0.10.1",
"matplotlib>=3.6.0",
"numpy>=2.1",
"pandas>=2.1",
"pyarrow>=14",
"pydantic>=2.4.2",
"scikit-learn>=1.3.2",
"umap-learn[plot]>=0.5.4",
"pybbi>=0.3.6"
]
[project.optional-dependencies]
dev = [
"pre-commit>=4.0.0",
"isort>=5.12.0",
"pytest>=8.1.0",
"pytest-mock>=3.12.0",
"pytest-cov>=4.1.0",
"ruff>=0.10.0",
"hatch>=1.10.0"
]
notebook = [
"black>=25.0",
"jupyter-black>=0.4.0",
"jupyter>=1.0.0",
"jupyterlab>=4.0.10",
"plotly>=5.18.0"
]
[project.scripts]
jointly = "jointly_hic.__main__:main"
[tool.hatch.version]
path = "jointly_hic/__init__.py"
[tool.hatch.envs.default.scripts]
fix = "ruff check --fix --exit-non-zero-on-fix jointly_hic"
lint = "ruff check --exit-non-zero-on-fix jointly_hic"
test = "pytest --cov=jointly_hic --cov-report=html --cov-report=term-missing --cov-fail-under=90 --color=yes --verbose tests"
[tool.ruff]
exclude = [
"__init__.py",
]
lint.extend-select = [
"E", # style errors
"D", # pydocstyle
"F", # pyflakes
"S", # mypy
"T", # tests
"UP", # pyupgrade
"I", # isort
"RUF", # ruff-specific rules
"UP", # pyupgrade
"W", # style warnings
]
line-length = 120
indent-width = 4
lint.ignore = ["S101", "D203", "D213"]
[tool.isort]
profile = "black"
line_length = 120
skip_gitignore = true
known_first_party = "jointly_hic"