-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (114 loc) · 2.86 KB
/
pyproject.toml
File metadata and controls
130 lines (114 loc) · 2.86 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "tszip"
authors = [
{name = "Tskit Developers", email = "[email protected]"},
]
description = "Compression utilities for tree sequences"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Intended Audience :: Science/Research",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
keywords = ["tree sequence", "tskit"]
dependencies = [
"numpy",
"humanize",
"tskit>=1.0.0",
"zarr>=2.18",
]
dynamic = ["version"]
[project.urls]
Homepage = "http://pypi.python.org/pypi/tszip"
Documentation = "https://tszip.readthedocs.io/en/latest/"
Changelog = "https://tszip.readthedocs.io/en/latest/changelog.html"
"Bug Tracker" = "https://github.com/tskit-dev/tszip/issues"
GitHub = "https://github.com/tskit-dev/tszip/"
[project.scripts]
tszip = "tszip.cli:tszip_main"
tsunzip = "tszip.cli:tsunzip_main"
[dependency-groups]
test = [
"h5py",
"humanize",
"msprime",
"pytest",
"pytest-cov",
"pytest-xdist",
"tskit",
"zarr",
]
docs = [
"humanize",
"jupyter-book",
"setuptools_scm",
"sphinx-argparse",
"sphinx-issues",
"tskit",
"zarr",
]
# Fully pin lint requirements for determinism.
lint = [
"ruff==0.15.1",
"prek==0.3.3",
]
packaging = [
"twine",
"validate-pyproject[all]"
]
dev = [
{include-group = "docs"},
{include-group = "lint"},
{include-group = "test"},
{include-group = "packaging"},
]
[tool.setuptools]
packages = ["tszip"]
include-package-data = true
[tool.setuptools_scm]
write_to = "tszip/_version.py"
local_scheme = "no-local-version"
[tool.pytest.ini_options]
addopts = "-n 4"
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 89
indent-width = 4
[tool.ruff.lint]
select = ["E", "F", "B", "W", "I", "N", "UP", "A", "PT"]
ignore = [
"A001", "A002", "RUF",
"B905", #Don't add strict=False to zips (B905)
"N818", # Exceptions not called "Error"
"N806", "N802", "N803", # Various nags about uppercase vars
"PT011", # pytest.raises(ValueError) too broad
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.isort]
known-first-party = ["tszip"]
known-third-party = [
"msprime",
"numpy",
"pandas",
"pytest",
"zarr"
]