Skip to content

Commit d34e418

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e48aee8 commit d34e418

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

mne/report/report.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"Generate self-contained HTML reports from MNE objects."
1+
"""Generate self-contained HTML reports from MNE objects."""
22

33
# Authors: The MNE-Python contributors.
44
# License: BSD-3-Clause
@@ -831,7 +831,6 @@ def __init__(
831831
collapse=(),
832832
verbose=None,
833833
):
834-
835834
self.info_fname = str(info_fname) if info_fname is not None else None
836835
self.cov_fname = str(cov_fname) if cov_fname is not None else None
837836
self.baseline = baseline

mne/report/tests/test_report.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -748,10 +748,10 @@
748748
section = "<div whatever 😀 etc."
749749
sec_san = "_div_whatever___etc_"
750750
r.add_figure(
751-
fig=fig2,
752-
title="duplicate",
753-
section=section,
754-
replace=True, # should have no effect
751+
fig=fig2,
752+
title="duplicate",
753+
section=section,
754+
replace=True, # should have no effect
755755
)
756756
html = r.html
757757
assert len(html) == 6

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ addopts = """--durations=20 --doctest-modules -rfEXs --tb=short \
270270
--ignore=mne/report/js_and_css \
271271
--color=yes --capture=sys"""
272272

273-
274273
[tool.rstcheck]
275274
ignore_directives = [
276275
"autoclass",

0 commit comments

Comments
 (0)