Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
blender
blender-dev-tools
Commits
6905f812
Commit
6905f812
authored
Apr 06, 2017
by
Campbell Barton
Browse files
Skip hidden files
parent
659547dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
check_source/check_style_c.py
View file @
6905f812
...
...
@@ -1374,6 +1374,9 @@ def scan_source_recursive(dirpath, args):
yield
filepath
def
is_source
(
filename
):
# skip temp files
if
filename
.
startswith
(
"."
):
return
False
ext
=
splitext
(
filename
)[
1
]
return
(
ext
in
{
".c"
,
".inl"
,
".cpp"
,
".cxx"
,
".cc"
,
".hpp"
,
".hxx"
,
".h"
,
".hh"
,
".osl"
})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment