Browse Source

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

pull/22258/head
Joel Challis 6 months ago
committed by GitHub
parent
commit
7ca652ce6d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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 View File

@ -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 View File

@ -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'):


Loading…
Cancel
Save