From 7ca652ce6d6582ca682f7e7beeb1ad1908087985 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 8 Oct 2023 12:45:13 +0100 Subject: [PATCH] Flag vial keymaps in 'qmk lint' (#22227) --- .gitignore | 3 ++- lib/python/qmk/cli/lint.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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'):