This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
Fix cformat processing files within ignore folders (
#8063
)
pull/8077/head
0.7.136
Joel Challis
4 years ago
committed by
GitHub
parent
1877736fa4
commit
5b91c3e0a0
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
lib/python/qmk/cli/cformat.py
+ 1
- 0
lib/python/qmk/cli/cformat.py
View File
@ -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
'
)
)
:
Write
Preview
Loading…
Cancel
Save