Skip to content

Commit 5328ac2

Browse files
t20100loichuder
andcommitted
Apply suggestions from code review
Co-authored-by: Loïc Huder <[email protected]>
1 parent 75b332d commit 5328ac2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/check_meson.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"src/silx/math/histogramnd/README",
1616
"src/silx/math/histogramnd/src/histogramnd_template.c",
1717
}
18-
EXCLUDED_FILES = tuple(map(Path, EXCLUDED_FILES))
18+
EXCLUDED_FILES = set(map(Path, EXCLUDED_FILES))
1919
"""Files to ignore during the check"""
2020

2121

@@ -28,7 +28,6 @@ def get_repository_files(root: str) -> set[Path]:
2828
"""list of all files in the git repo
2929
3030
:param root: root of the project
31-
:return: list of file path in the repo
3231
"""
3332
process = subprocess.run(["git", "ls-files"], cwd=root, stdout=subprocess.PIPE)
3433
if process.returncode != 0:

0 commit comments

Comments
 (0)