Merge remote-tracking branch 'remote_jaeden/dev/patater/avoid-check-files-todo-dev' into development-psa-proposed
diff --git a/tests/scripts/check-files.py b/tests/scripts/check-files.py
index ed67872..e4339b1 100755
--- a/tests/scripts/check-files.py
+++ b/tests/scripts/check-files.py
@@ -138,7 +138,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):