Skip to content

Commit 60cced9

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

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

mne/report/report.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,7 +1744,7 @@ def add_covariance(
17441744
rank : int | None
17451745
The rank of the covariance matrix. If provided, it will be displayed
17461746
in the report above the covariance plots.
1747-
1747+
17481748
.. versionadded:: 1.12
17491749
%(tags_report)s
17501750
%(replace_report)s
@@ -1753,7 +1753,6 @@ def add_covariance(
17531753
-----
17541754
.. versionadded:: 0.24.0
17551755
"""
1756-
17571756
tags = _check_tags(tags)
17581757

17591758
# Display rank if provided

mne/report/tests/test_report.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1361,6 +1361,7 @@ def test_gif(tmp_path):
13611361
with pytest.raises(ValueError, match="Allowed values"):
13621362
r.add_image(bad_name, "fname")
13631363

1364+
13641365
def test_add_covariance_rank():
13651366
from mne import create_info
13661367
from mne.cov import make_ad_hoc_cov
@@ -1373,4 +1374,4 @@ def test_add_covariance_rank():
13731374
report.add_covariance(cov, info=info, title="Test Cov", rank=1)
13741375

13751376
html = "".join(report.html)
1376-
assert "Rank" in html
1377+
assert "Rank" in html

0 commit comments

Comments
 (0)