@@ -115,9 +115,9 @@ def __init__(self, repo_info, beman_standard_check_config):
115115
116116 def check (self ):
117117 # Exclude directories that are not part of the tests.
118- exclude_dirs = [".github" , "tests" , ".git" ]
118+ exclude_dirs = [".github" , "tests" , ".git" , "infra" ]
119119 if self .repo_name == "exemplar" :
120- exclude_dirs .extend ([ "cookiecutter" , "infra" ] )
120+ exclude_dirs .extend ("cookiecutter" )
121121
122122 # Find all test files in the repository outside the excluded directories.
123123 misplaced_test_files = []
@@ -213,11 +213,11 @@ def pre_check(self):
213213
214214 def check (self ):
215215 # Exclude directories that are not part of the documentation.
216- exclude_dirs = ["src" , "papers" , "examples" , ".github" ]
216+ exclude_dirs = ["src" , "papers" , "examples" , ".github" , "infra" ]
217217 if self .path .exists ():
218218 exclude_dirs .append ("docs" )
219219 if self .repo_name == "exemplar" :
220- exclude_dirs .extend ([ "cookiecutter" , "infra" ] )
220+ exclude_dirs .append ( "cookiecutter" )
221221
222222 # Find all MD files in the repository.
223223 misplaced_md_files = [
@@ -276,11 +276,11 @@ def check(self):
276276 └── abstract.bst
277277 """
278278 # Exclude directories that are not part of the papers/ directory.
279- exclude_dirs = ["src" , "docs" , "examples" , ".github" ]
279+ exclude_dirs = ["src" , "docs" , "examples" , ".github" , "infra" ]
280280 if self .path .exists ():
281281 exclude_dirs .append ("papers" )
282282 if self .repo_name == "exemplar" :
283- exclude_dirs .extend ([ "cookiecutter" , "infra" ] )
283+ exclude_dirs .append ( "cookiecutter" )
284284
285285 # File extensions that are considered "paper-related"
286286 paper_extensions = [
0 commit comments