-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
164 lines (147 loc) · 3.2 KB
/
Copy pathpyproject.toml
File metadata and controls
164 lines (147 loc) · 3.2 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
[build-system]
requires = [
"setuptools>=61.0.0",
"wheel",
"cython",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "pyranges1"
version = "1.3.9"
description = "GenomicRanges for Python."
requires-python = ">=3.12.0"
readme = "README.md"
authors = [
{ name = "Endre Bakken Stovner", email = "endbak@hey.com" },
{ name = "Marco Mariotti", email = "marco.mariotti@ub.edu" },
]
license = { text = "MIT" }
classifiers = [
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Topic :: Scientific/Engineering",
]
keywords = ["bioinformatics", "genomicranges", "genomics"]
dependencies = ["pandas", "tabulate", "natsort", "ruranges>=0.1.4", "gtfreader>=0.2.0"]
[project.optional-dependencies]
add-ons = [
"pyrle >= 0.0.43",
"bamread",
"pyfaidx",
"pyBigWig",
"joblib",
] #"fisher",
dev = [
"tox",
"ruff == 0.14.1",
"pyright",
"pandas-stubs",
"types-tabulate",
"pytest-watcher",
"pytest-xdist",
]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx-autoapi",
"sphinxcontrib-napoleon",
]
cli = ["fire"]
all = [
"pyranges1[add-ons]",
"pyranges1[dev]",
"pyranges1[docs]",
"pyranges1[cli]",
]
[project.scripts]
# <script‐name> = "<module.path>:<callable>"
pyranger = "pyranges1.cli:main"
[tool.setuptools.packages.find]
where = ["."]
[tool.pytype]
inputs = ['pyranges1']
[project.urls]
Homepage = "http://github.com/pyranges/pyranges1"
[tool.tox] # Legacy tox configuration (to be replaced with native tox.ini when supported)
legacy_tox_ini = """
[tox]
envlist = py312, py313
[testenv]
basepython =
py312: python3.12
py313: python3.13
deps =
pandas
pyrle >= 0.0.41
bamread
pyBigWig
pyfaidx
tox
ruff == 0.14.1
pandas-stubs
types-tabulate
pytest
pyright == 1.1.406
joblib
gtfreader >= 0.2.0
ruranges >= 0.1.3
# fisher
commands =
pyright
python tests/run_doctest_tutorial_howto.py
pytest --doctest-modules pyranges1
pytest tests/unit
ruff format --check pyranges1
ruff check pyranges1
"""
[tool.mypy]
python_version = "3.12"
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"E501",
"ANN002",
"ANN003",
"ANN001",
"ANN401",
"PLR0913",
"PLC0415",
"D101",
"D100",
"D107",
"CPY",
"D105",
"D104",
"D203",
"D211",
"D213",
"COM812",
"ISC001",
]
[tool.pytest-watcher]
now = true
[tool.pyright]
include = ["pyranges1"]
# typeCheckingMode = "strict"
pythonVersion = "3.12"
ignore = ["pyranges1/core/pyranges_groupby.py"]
# specific rules to disable
reportUnknownParameterType = false
reportUnknownMemberType = false
reportUnknownArgumentType = false
reportUnknownVariableType = false
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"bedtools: marks tests that require bedtools",
]