Skip to content

Commit

Permalink
Flag vial keymaps in 'qmk lint' (#22227)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Oct 8, 2023
1 parent 06d123d commit 7ca652c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 0 deletions lib/python/qmk/cli/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit 7ca652c

Please sign in to comment.