Merge remote-tracking branch 'upstream-public/pr/2223' into development
diff --git a/tests/scripts/check-files.py b/tests/scripts/check-files.py
index b263e4d..005a077 100755
--- a/tests/scripts/check-files.py
+++ b/tests/scripts/check-files.py
@@ -162,7 +162,9 @@
super().__init__()
self.heading = "TODO present:"
self.files_exemptions = [
- __file__, "benchmark.c", "pull_request_template.md"
+ os.path.basename(__file__),
+ "benchmark.c",
+ "pull_request_template.md",
]
def issue_with_line(self, line):