-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
101 lines (89 loc) · 2.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
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
100
101
[build-system]
requires = ["setuptools >= 69", "setuptools_scm[toml] >= 8"]
build-backend = "setuptools.build_meta"
[project]
name = "bio2zarr"
description = "Convert bioinformatics data to Zarr"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{name = "sgkit Developers", email = "[email protected]"},
]
dependencies = [
# Pin numpy to >= 1.26 because this enables ICF files to be supported
# across numpy 1 and 2 (due to pickle format)
"numpy >= 1.26",
"zarr >= 2.17,< 3",
"click",
"tabulate",
"tqdm",
"humanfriendly",
# cyvcf2 also pulls in coloredlogs and click",
# colouredlogs pulls in humanfriendly",
"cyvcf2",
"bed_reader",
]
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/bio2zarr"
documentation = "https://sgkit-dev.github.io/bio2zarr/"
[project.scripts]
vcf2zarr = "bio2zarr.cli:vcf2zarr_main"
vcfpartition = "bio2zarr.cli:vcfpartition"
[project.optional-dependencies]
dev = [
"hypothesis-vcf @ git+https://github.com/sgkit-dev/hypothesis-vcf.git",
"msprime",
"pysam",
"pytest",
"pytest-coverage",
"pytest-xdist",
"sgkit>=0.8.0",
"tqdm"
]
[tool.setuptools]
packages = ["bio2zarr", "bio2zarr.vcf2zarr"]
[tool.setuptools_scm]
version_file = "bio2zarr/_version.py"
[tool.pytest.ini_options]
testpaths = "tests"
addopts = "--cov=bio2zarr --cov-report term-missing"
[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 = [
"hypothesis",
"msprime",
"numpy",
"pandas",
"pytest",
"setuptools",
"sgkit",
"zarr"
]