commit 7ca652ce6d6582ca682f7e7beeb1ad1908087985
parent 06d123de6200f5f7f9401c08366f597059f21b1a
Author: Joel Challis <git@zvecr.com>
Date: Sun, 8 Oct 2023 12:45:13 +0100
Flag vial keymaps in 'qmk lint' (#22227)
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.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/*
diff --git a/lib/python/qmk/cli/lint.py b/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'):