diff --git a/check_source/check_style_c.py b/check_source/check_style_c.py index 0e6580abff7adac7d47fbc1e56d455472c469596..f115ce46332021610935f7948b814aac14bb4747 100755 --- a/check_source/check_style_c.py +++ b/check_source/check_style_c.py @@ -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"})