Exclude external userspace from lint checking (#24680)
This commit is contained in:
parent
6624671a60
commit
e27dd0f26f
2 changed files with 9 additions and 4 deletions
|
@ -26,7 +26,7 @@ def _list_defaultish_keymaps(kb):
|
|||
defaultish.extend(INVALID_KM_NAMES)
|
||||
|
||||
keymaps = set()
|
||||
for x in list_keymaps(kb):
|
||||
for x in list_keymaps(kb, include_userspace=False):
|
||||
if x in defaultish or x.startswith('default'):
|
||||
keymaps.add(x)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue