Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
121 lines (109 loc) · 2.61 KB
/
Copy pathpyproject.toml
File metadata and controls
121 lines (109 loc) · 2.61 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
[build-system]
requires = [
"setuptools>=64",
"setuptools-scm>=8",
]
build-backend = "setuptools.build_meta"
[project]
name = "tscompare"
dynamic = [
"version",
]
description = "Tools for comparing tree sequences."
readme = "README.md"
maintainers = [
{ name = "Tskit Developers", email = "admin@tskit.dev" },
]
authors = [
{ name = "Tskit Developers", email = "admin@tskit.dev" },
]
keywords = [
"population genetics",
"tree sequence",
"tskit",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"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 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: MacOS",
]
requires-python = ">=3.11"
dependencies = [
"tskit>=1.0.0",
"scipy>=1.7.0",
]
[project.license]
text = "MIT"
[project.urls]
Homepage = "https://tskit.dev/tscompare"
"Bug Tracker" = "https://github.com/tskit-dev/tscompare/issues"
Documentation = "https://tskit.dev/tscompare/docs/"
"Source Code" = "https://github.com/tskit-dev/tscompare"
[dependency-groups]
test = [
"msprime",
"pytest",
"pytest-cov",
"pytest-xdist",
]
docs = [
"jupyter-book<2",
"msprime",
"sphinx-argparse",
"sphinx-autodoc-typehints",
"sphinx-book-theme",
"sphinx-copybutton",
"sphinx-issues",
"tsinfer",
]
lint = [
"ruff==0.15.1",
"prek==0.3.3",
"zizmor==1.26.1",
]
packaging = [
"twine",
"validate-pyproject[all]",
]
dev = [
{include-group = "docs"},
{include-group = "lint"},
{include-group = "test"},
{include-group = "packaging"},
]
[tool.setuptools]
packages = [
"tscompare",
]
[tool.setuptools_scm]
version_file = "tscompare/_version.py"
local_scheme = "no-local-version"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.ruff]
target-version = "py311"
line-length = 89
[tool.ruff.lint]
select = ["E", "F", "B", "W", "I", "N", "UP", "A", "PT"]
fixable = ["ALL"]
ignore = [
"A001", "A002", "RUF",
"B905", #Don't add strict=False to zips (B905)
"E741", # using 'l' as a variable name
"N806", "N802", "N803", # Various nags about uppercase vars
"PT030", # `pytest.warns(DeprecationWarning)` is too broad.
]