summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-10-08 12:45:13 +0100
committerGitHub <noreply@github.com>2023-10-08 12:45:13 +0100
commit7ca652ce6d6582ca682f7e7beeb1ad1908087985 (patch)
tree670f1cdf6f7a9d1356be0070d0a3b2ed407307cc
parent06d123de6200f5f7f9401c08366f597059f21b1a (diff)
Flag vial keymaps in 'qmk lint' (#22227)
-rw-r--r--.gitignore3
-rw-r--r--lib/python/qmk/cli/lint.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index e9e7b27e6c..f6401d9f83 100644
--- 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
index 897a6c4c0d..a7c85b5643 100644
--- 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'):