summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-02-02 16:33:17 +0000
committerGitHub <noreply@github.com>2020-02-02 16:33:17 +0000
commit5b91c3e0a0dc8152f69130cf047f3df0d0f94421 (patch)
tree758e0dbd9f7ffc1f67ad1a3401f224c9e5afbd83
parent1877736fa40dcf023f67fe05661b516187c08c82 (diff)
downloadqmk_firmware-5b91c3e0a0dc8152f69130cf047f3df0d0f94421.tar.gz
qmk_firmware-5b91c3e0a0dc8152f69130cf047f3df0d0f94421.zip
Fix cformat processing files within ignore folders (#8063)
-rw-r--r--lib/python/qmk/cli/cformat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/qmk/cli/cformat.py b/lib/python/qmk/cli/cformat.py
index fe1edef60b..de55218ae9 100644
--- a/lib/python/qmk/cli/cformat.py
+++ b/lib/python/qmk/cli/cformat.py
@@ -29,6 +29,7 @@ def cformat(cli):
for dirpath, dirnames, filenames in os.walk(dir):
if any(i in dirpath for i in ignores):
dirnames.clear()
+ continue
for name in filenames:
if name.endswith(('.c', '.h', '.cpp')):