Skip to content

Commit 7b35fde

Browse files
hoechenbergerpre-commit-ci[bot]larsoner
authored andcommitted
Move more metadata and build flags from setup.py to pyproject.toml (mne-tools#12060)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Eric Larson <larson.eric.d@gmail.com>
1 parent bbf9ccc commit 7b35fde

File tree

23 files changed

+125
-126
lines changed

23 files changed

+125
-126
lines changed

mne/_ola.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def __init__(
281281
window="hann",
282282
tol=1e-10,
283283
*,
284-
verbose=None
284+
verbose=None,
285285
):
286286
n_samples = _ensure_int(n_samples, "n_samples")
287287
n_overlap = _ensure_int(n_overlap, "n_overlap")

mne/beamformer/_lcmv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def make_lcmv(
207207
noise_cov=noise_cov,
208208
rank=rank,
209209
pca=False,
210-
**depth
210+
**depth,
211211
)
212212
ch_names = list(info["ch_names"])
213213

mne/datasets/brainstorm/bst_auditory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def data_path(
3333
download=True,
3434
accept=False,
3535
*,
36-
verbose=None
36+
verbose=None,
3737
): # noqa: D103
3838
return _download_mne_dataset(
3939
name="bst_auditory",

mne/datasets/brainstorm/bst_phantom_ctf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def data_path(
2222
download=True,
2323
accept=False,
2424
*,
25-
verbose=None
25+
verbose=None,
2626
): # noqa: D103
2727
return _download_mne_dataset(
2828
name="bst_phantom_ctf",

mne/datasets/brainstorm/bst_phantom_elekta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def data_path(
2222
download=True,
2323
accept=False,
2424
*,
25-
verbose=None
25+
verbose=None,
2626
): # noqa: D103
2727
return _download_mne_dataset(
2828
name="bst_phantom_elekta",

mne/datasets/brainstorm/bst_raw.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def data_path(
3838
download=True,
3939
accept=False,
4040
*,
41-
verbose=None
41+
verbose=None,
4242
): # noqa: D103
4343
return _download_mne_dataset(
4444
name="bst_raw",

mne/datasets/brainstorm/bst_resting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def data_path(
2525
download=True,
2626
accept=False,
2727
*,
28-
verbose=None
28+
verbose=None,
2929
): # noqa: D103
3030
return _download_mne_dataset(
3131
name="bst_resting",

mne/datasets/sleep_physionet/age.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def fetch_data(
2929
base_url=BASE_URL,
3030
on_missing="raise",
3131
*,
32-
verbose=None
32+
verbose=None,
3333
): # noqa: D301, E501
3434
"""Get paths to local copies of PhysioNet Polysomnography dataset files.
3535
@@ -134,12 +134,12 @@ def fetch_data(
134134
psg_fname, pdl = _fetch_one(
135135
psg_records["fname"][idx].decode(),
136136
psg_records["sha"][idx].decode(),
137-
*params
137+
*params,
138138
)
139139
hyp_fname, hdl = _fetch_one(
140140
hyp_records["fname"][idx].decode(),
141141
hyp_records["sha"][idx].decode(),
142-
*params
142+
*params,
143143
)
144144
fnames.append([psg_fname, hyp_fname])
145145
if pdl:

mne/datasets/sleep_physionet/temazepam.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ def fetch_data(
104104
psg_fname, pdl = _fetch_one(
105105
records["psg fname"][idx].decode(),
106106
records["psg sha"][idx].decode(),
107-
*params
107+
*params,
108108
)
109109
hyp_fname, hdl = _fetch_one(
110110
records["hyp fname"][idx].decode(),
111111
records["hyp sha"][idx].decode(),
112-
*params
112+
*params,
113113
)
114114
fnames.append([psg_fname, hyp_fname])
115115
if pdl:

mne/datasets/tests/test_datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def test_fetch_parcellations(tmp_path):
205205
labels,
206206
parc="HCPMMP1_round",
207207
table_name="./left.fsaverage164.label.gii",
208-
**kwargs
208+
**kwargs,
209209
)
210210
orig = op.join(this_subjects_dir, "fsaverage", "label", "lh.HCPMMP1.annot")
211211
first = hashfunc(orig)

0 commit comments

Comments
 (0)