forked from sgkit-dev/vcztools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
73 lines (62 loc) · 1.34 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
[build-system]
requires = ["setuptools>=45", "wheel", "numpy>=2"]
build-backend = "setuptools.build_meta"
[project]
name = "vcztools"
description = "Implementation of bcftools for VCF Zarr"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{name = "sgkit Developers", email = "[email protected]"},
]
dependencies = [
"numpy>=1.23.5,<2",
"zarr>=2.17,<3",
"click",
"pyranges",
"pyparsing"
]
requires-python = ">=3.9"
dynamic = ["version"]
[project.scripts]
vcztools = "vcztools.cli:vcztools_main"
[project.optional-dependencies]
dev = [
"bio2zarr @ git+https://github.com/sgkit-dev/bio2zarr.git",
"cyvcf2",
"pytest",
"pytest-cov",
"pytest-datadir",
]
[tool.setuptools]
packages = ["vcztools"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=vcztools --cov-report=term-missing"
[tool.setuptools_scm]
write_to = "vcztools/_version.py"
[tool.ruff]
# Assume Python 3.9
target-version = "py39"
# Same as Black.
line-length = 88
indent-width = 4
[tool.ruff.lint]
select = ["E", "F", "B", "W", "I", "N", "UP", "A", "RUF", "PT"]
#Allow uppercase names for e.g. call_AD
ignore = ["N806", "N802", "A001", "A002"]
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.isort]
known-third-party = [
"bio2zarr",
"click",
"cyvcf2",
"numcodecs",
"numpy",
"pandas",
"pyranges",
"pytest",
"setuptools",
"zarr"
]