Browse Source

Flag vial keymaps in 'qmk lint' (#22227)

Joel Challis 2 years ago
parent
commit
7ca652ce6d
2 changed files with 5 additions and 1 deletions
  1. 2 1
      .gitignore
  2. 3 0
      lib/python/qmk/cli/lint.py

+ 2 - 1
.gitignore

@@ -108,5 +108,6 @@ compile_commands.json
 .clangd/
 .cache/
 
-# VIA(L) json files that don't belong in QMK repo
+# VIA(L) files that don't belong in QMK repo
 via*.json
+/keyboards/**/keymaps/vial/*

+ 3 - 0
lib/python/qmk/cli/lint.py

@@ -20,6 +20,9 @@ def _list_defaultish_keymaps(kb):
     """
     defaultish = ['ansi', 'iso', 'via']
 
+    # This is only here to flag it as "testable", so it doesn't fly under the radar during PR
+    defaultish.append('vial')
+
     keymaps = set()
     for x in list_keymaps(kb):
         if x in defaultish or x.startswith('default'):