-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
210 lines (189 loc) · 5.03 KB
/
pyproject.toml
File metadata and controls
210 lines (189 loc) · 5.03 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
208
209
210
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mne-denoise"
version = "0.0.1"
description = "Denoising Source Separation (DSS) and ZapLine algorithms for MNE-Python."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "Sina Esmaeili", email = "sina.esmaeili@umontreal.ca" },
{ name = "Hamza Abdelhedi", email = "hamza.abdelhedi@umontreal.ca" },
]
maintainers = [
{ name = "Sina Esmaeili", email = "sina.esmaeili@umontreal.ca" },
{ name = "Hamza Abdelhedi", email = "hamza.abdelhedi@umontreal.ca" },
]
keywords = [
"mne",
"eeg",
"meg",
"denoising",
"dss",
"zapline",
"neuroscience",
"electrophysiology",
"signal-processing",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
dependencies = [
"mne>=1.8",
"numpy>=1.22",
"scipy>=1.8",
"matplotlib>=3.5",
"scikit-learn>=1.1",
]
[project.urls]
Homepage = "https://github.com/mne-tools/mne-denoise"
Documentation = "https://mne-tools.github.io/mne-denoise/"
Repository = "https://github.com/mne-tools/mne-denoise"
Issues = "https://github.com/mne-tools/mne-denoise/issues"
Changelog = "https://github.com/mne-tools/mne-denoise/blob/main/CHANGELOG.md"
[project.optional-dependencies]
test = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-timeout>=2.2.0",
"pandas>=1.5",
"seaborn>=0.12",
]
dev = [
"mne-denoise[test]",
"ruff>=0.9.0",
"pre-commit>=3.6.0",
"mypy>=1.8.0",
"build>=1.0.0",
"twine>=5.0.0",
"types-setuptools",
"towncrier",
]
docs = [
"mne>=1.8",
"numpydoc>=1.6.0",
"pydata-sphinx-theme>=0.15.2",
"sphinx>=7.2.0",
"sphinx-copybutton>=0.5.2",
"sphinx-design>=0.5.0",
"sphinx-gallery>=0.15.0",
"myst-parser>=2.0.0",
]
all = [
"mne-denoise[dev,docs]",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = [""]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"W", # pycodestyle warnings
"D", # pydocstyle
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
"E731", # lambda assignment
"D100", # missing docstring in public module
"D104", # missing docstring in public package
"D105", # missing docstring in magic method
"D107", # missing docstring in __init__
"D203", # one-blank-line-before-class (conflicts with D211)
"D212", # multi-line-summary-first-line (conflicts with D213)
"B905", # zip without strict= argument
"SIM108", # use ternary operator
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/**" = ["D", "B", "SIM", "E402"]
"examples/**" = ["D", "E402", "B", "F404"]
"scripts/**" = ["D", "E402"]
"run_erp_benchmark.py" = ["D", "E402"]
[tool.ruff.format]
docstring-code-format = true
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra --strict-markers --strict-config"
testpaths = ["tests"]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
]
[tool.coverage.run]
branch = true
source = ["mne_denoise"]
omit = ["*/tests/*", "*/__pycache__/*"]
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
ignore_missing_imports = true
show_error_codes = true
pretty = true
warn_redundant_casts = true
warn_unused_ignores = true
[tool.codespell]
skip = "*.html,*.css,*.js,*.svg,*.lock,.git,__pycache__,*.egg-info,build,dist,docs/_build,*.map"
ignore-words-list = "nd,ot,fro"
[tool.towncrier]
package = "mne_denoise"
filename = "CHANGELOG.md"
directory = "docs/changes/devel/"
title_format = "## [{version}] - {project_date}"
issue_format = "[#{issue}](https://github.com/mne-tools/mne-denoise/issues/{issue})"
template = "docs/changes/template.jinja"
underlines = ["", "", ""]
[[tool.towncrier.type]]
directory = "feature"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Fixed"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Removed"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Internal"
showcontent = true