1
+ [build-system ]
2
+ requires = [" setuptools >= 69" , " setuptools_scm[toml] >= 8" ]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+ [project ]
6
+ name = " bio2zarr"
7
+ description = " Convert bioinformatics data to Zarr"
8
+ readme = " README.md"
9
+ license = {file = " LICENSE" }
10
+ authors = [
11
+ {name = " sgkit Developers" , email = " project@pystatgen.org" },
12
+ ]
13
+ dependencies = [
14
+ " numpy" ,
15
+ " zarr >= 2.17" ,
16
+ " click" ,
17
+ " tabulate" ,
18
+ " tqdm" ,
19
+ " humanfriendly" ,
20
+ # cyvcf2 also pulls in coloredlogs and click",
21
+ # colouredlogs pulls in humanfriendly",
22
+ " cyvcf2" ,
23
+ " bed_reader" ,
24
+ ]
25
+ requires-python = " >=3.9"
26
+ classifiers = [
27
+ " Development Status :: 3 - Alpha" ,
28
+ " License :: OSI Approved :: Apache, Software License" ,
29
+ " Operating System :: OS Independent" ,
30
+ " Intended Audience :: Science/Research" ,
31
+ " Programming Language :: Python" ,
32
+ " Programming Language :: Python :: 3" ,
33
+ " Programming Language :: Python :: 3.9" ,
34
+ " Programming Language :: Python :: 3.10" ,
35
+ " Programming Language :: Python :: 3.11" ,
36
+ " Topic :: Scientific/Engineering"
37
+ ]
38
+ dynamic = [" version" ]
39
+
40
+ [project .urls ]
41
+ repository = " https://github.com/sgkit-dev/bio2zarr"
42
+ documentation = " https://sgkit-dev.github.io/bio2zarr/intro.html"
43
+
44
+ [project .scripts ]
45
+ vcf2zarr = " bio2zarr.cli:vcf2zarr"
46
+ plink2zarr = " bio2zarr.cli:plink2zarr"
47
+ vcf_partition = " bio2zarr.cli:vcf_partition"
48
+
49
+ [tool .setuptools ]
50
+ packages = [" bio2zarr" ]
51
+
52
+ [tool .setuptools_scm ]
53
+ version_file = " bio2zarr/_version.py"
54
+
55
+ [tool .pytest .ini_options ]
56
+ testpaths = " tests"
57
+ addopts = " --cov=bio2zarr --cov-report term-missing"
58
+
1
59
[tool .ruff ]
60
+ # Assume Python 3.9
61
+ target-version = " py39"
62
+
2
63
# Same as Black.
3
64
line-length = 88
4
65
indent-width = 4
5
66
6
- # Assume Python 3.8
7
- target-version = " py38"
8
-
9
67
[tool .ruff .lint ]
10
68
select = [" E" , " F" , " B" , " W" , " I" , " N" , " UP" , " A" , " RUF" , " PT" ]
11
69
# Allow uppercase names for e.g. call_AD
12
70
ignore = [" N806" , " N802" , " A001" , " A002" ]
13
71
14
72
fixable = [" ALL" ]
15
- unfixable = []
73
+ unfixable = []
74
+
75
+ [tool .ruff .lint .isort ]
76
+ default-section = " third-party"
77
+ known-first-party = [" sgkit" ]
78
+ known-third-party = [
79
+ " hypothesis" ,
80
+ " msprime" ,
81
+ " numpy" ,
82
+ " pandas" ,
83
+ " pytest" ,
84
+ " setuptools" ,
85
+ " sgkit" ,
86
+ " zarr"
87
+ ]
0 commit comments