Browse Source

Meta: check-newlines-at-eof.py now checks .json files and files in Base/

This makes it also check man pages and keymap files. :^)
Emanuele Torre 4 years ago
parent
commit
26c4cae77c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Meta/check-newlines-at-eof.py

+ 2 - 1
Meta/check-newlines-at-eof.py

@@ -17,9 +17,10 @@ files = subprocess.run(
         "*.css",
         "*.css",
         "*.sh",
         "*.sh",
         "*.py",
         "*.py",
+        "*.json",
         "CMake*.txt",
         "CMake*.txt",
         "**/CMake*.txt",
         "**/CMake*.txt",
-        ":!:Base",
+        ":!:AK/Tests/*.json",
         ":!:Kernel/FileSystem/ext2_fs.h",
         ":!:Kernel/FileSystem/ext2_fs.h",
         ":!:Userland/Libraries/LibELF/exec_elf.h"
         ":!:Userland/Libraries/LibELF/exec_elf.h"
     ],
     ],