[doc] :obj: hunt (#14954)

* redo sans examples

* style
This commit is contained in:
Stas Bekman
2021-12-27 15:49:48 -08:00
committed by GitHub
parent 133c5e40c4
commit e13f72fbff
33 changed files with 69 additions and 69 deletions

View File

@@ -45,11 +45,11 @@ class TestCodeExamples(unittest.TestCase):
the doctests in those files
Args:
directory (:obj:`Path`): Directory containing the files
identifier (:obj:`str`): Will parse files containing this
ignore_files (:obj:`List[str]`): List of files to skip
n_identifier (:obj:`str` or :obj:`List[str]`): Will not parse files containing this/these identifiers.
only_modules (:obj:`bool`): Whether to only analyze modules
directory (`Path`): Directory containing the files
identifier (`str`): Will parse files containing this
ignore_files (`List[str]`): List of files to skip
n_identifier (`str` or `List[str]`): Will not parse files containing this/these identifiers.
only_modules (`bool`): Whether to only analyze modules
"""
files = [file for file in os.listdir(directory) if os.path.isfile(os.path.join(directory, file))]