-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
91 lines (79 loc) · 1.94 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
[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 = "project@sgkit.dev"},
]
dependencies = [
"numpy>=1.23.5",
"zarr>=2.17,<3",
"click",
"pyranges",
"pyparsing>=3"
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Operating System :: MacOS :: MacOS X",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering"
]
dynamic = ["version"]
[project.urls]
repository = "https://github.com/sgkit-dev/vcztools"
[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.10
target-version = "py310"
# 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"
]