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

This commit is contained in:
Joel Challis 2023-10-08 12:45:13 +01:00 committed by GitHub
parent 06d123de62
commit 7ca652ce6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View file

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

View file

@ -20,6 +20,9 @@ def _list_defaultish_keymaps(kb):
""" """
defaultish = ['ansi', 'iso', 'via'] 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() keymaps = set()
for x in list_keymaps(kb): for x in list_keymaps(kb):
if x in defaultish or x.startswith('default'): if x in defaultish or x.startswith('default'):