From c286c83c2a6eeffe17ac01c43479f1d9cfecc1a6 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Wed, 28 Dec 2022 17:00:47 +0800 Subject: [PATCH] lint: Ignore via files for now Signed-off-by: Daniel Schaefer --- lib/python/qmk/cli/lint.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/python/qmk/cli/lint.py b/lib/python/qmk/cli/lint.py index c67809a697..5939a0783c 100644 --- a/lib/python/qmk/cli/lint.py +++ b/lib/python/qmk/cli/lint.py @@ -113,6 +113,9 @@ def keymap_check(kb, km): # Additional checks invalid_files = git_get_ignored_files(keymap_path.parent.as_posix()) for file in invalid_files: + # Ignore via files, I'm comitting them to this branch for now + if file.startswith('via_'): + continue cli.log.error(f'{kb}/{km}: The file "{file}" should not exist!') ok = False