From 0ca620a7f62c45e3e7e919488a679a410f236556 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 2 Feb 2020 16:33:17 +0000 Subject: Fix cformat processing files within ignore folders (#8063) --- lib/python/qmk/cli/cformat.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/python/qmk/cli') 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')): -- cgit v1.2.3