We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46ad751 commit fef7680Copy full SHA for fef7680
doc/sphinxext/gen_cli.py
@@ -7,7 +7,6 @@
7
# Authors: The MNE-BIDS developers
8
# SPDX-License-Identifier: BSD-3-Clause
9
10
-import glob
11
import shutil
12
import sys
13
from pathlib import Path
@@ -61,9 +60,7 @@ def generate_cli_rst(app=None):
61
60
out_fname = out_dir / "cli.rst.new"
62
63
cli_path = Path(__file__).resolve().parent.parent.parent / "mne_bids" / "commands"
64
- fnames = sorted(
65
- [Path(fname).name for fname in glob.glob(str(cli_path / "mne_bids*.py"))]
66
- )
+ fnames = sorted([fname.name for fname in cli_path.glob("mne_bids*.py")])
67
iterator = sphinx.util.display.status_iterator(
68
fnames, "generating MNE-BIDS cli help ... ", length=len(fnames)
69
)
0 commit comments