-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
207 lines (183 loc) · 4.67 KB
/
pyproject.toml
File metadata and controls
207 lines (183 loc) · 4.67 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mumdia"
version = "0.1.0"
description = "MuMDIA"
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
authors = [
{name = "Robbin Bouwmeester", email = "robbin.bouwmeester@ugent.be"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]
dependencies = [
# Core scientific computing
"polars>=0.20.0",
"pandas>=2.0.0",
"numpy>=1.24.0",
"scipy>=1.10.0",
"scikit-learn>=1.3.0",
"matplotlib>=3.7.0",
"numba>=0.57.0",
# System and monitoring
"psutil>=5.9.0",
"rich>=13.0.0",
"tqdm>=4.65.0",
# Machine learning and proteomics
"mokapot>=0.8.0",
"tensorflow>=2.13.0",
"scikeras>=0.12.0",
# Mass spectrometry tools
"pymzml>=2.5.0",
"pyopenms>=3.0.0",
# "rustyms>=0.9.0",
"rustyms @ git+https://github.com/rodvrees/mzcore-mumdia.git@mumdia-branch#subdirectory=rustyms-py",
# MS prediction tools
"ms2pip>=4.0.0",
"psm-utils>=0.4.0",
"deeplc>=2.0.0",
# Web and data handling
"requests>=2.31.0",
]
[tool.setuptools.packages.find]
include = [
"feature_generators*",
"utilities*",
"parsers*",
"prediction_wrappers*",
"peptide_search*",
"sequence*",
"deconvolution*"
]
exclude = [
"tests*",
"notebook_helpers*",
"configs*",
"fasta*",
"results*"
]
[tool.setuptools]
py-modules = [
"mumdia",
"run",
"data_structures",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"black>=23.0",
"isort>=5.12",
"mypy>=1.0",
"flake8>=6.0",
]
[project.urls]
Homepage = "https://github.com/CompOmics/MuMDIA"
Repository = "https://github.com/CompOmics/MuMDIA.git"
Issues = "https://github.com/CompOmics/MuMDIA/issues"
[tool.pytest.ini_options]
# Pytest configuration for MuMDIA
minversion = "7.0"
testpaths = ["tests"]
# Test discovery patterns
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
# Markers for test categorization
markers = [
"unit: Unit tests for individual functions/classes",
"integration: Integration tests for component interaction",
"slow: Tests that take a long time to run",
"fast: Quick tests for CI/CD",
"fragmentation: Tests related to fragment intensity features",
"data_validation: Tests for data structure validation",
"io: Tests for input/output operations",
"performance: Performance and benchmarking tests",
"numerical: Tests for numerical accuracy and mathematical functions",
"memory: Tests for memory usage and resource monitoring",
"statistical: Tests for statistical methods and analysis",
"scalability: Tests for scalability and large data handling",
"complexity: Tests for computational complexity analysis",
"resource: Tests for resource usage and monitoring"
]
# Output formatting
addopts = [
"--strict-markers",
"--tb=short",
"--disable-warnings",
"-ra", # Show summary of all except passed
]
# Filters for warnings
filterwarnings = [
"ignore::UserWarning",
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
# Test timeout (in seconds)
timeout = 300
[tool.coverage.run]
source = [
"feature_generators",
"data_structures",
"utilities",
"parsers",
"prediction_wrappers",
"peptide_search"
]
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/venv/*",
"*/env/*",
"setup.py",
"conftest.py"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if settings.DEBUG",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if __name__ == .__main__.:",
"class .*\\bProtocol\\):",
"@(abc\\.)?abstractmethod",
]
show_missing = true
precision = 2
skip_covered = false
[tool.coverage.html]
directory = "htmlcov"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
known_first_party = ["mumdia", "feature_generators", "data_structures", "utilities"]