summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-01 07:37:52 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-05-01 07:39:56 +0300
commitd48497268eef5738e2af8549d8962b281c6b4c71 (patch)
treec9b5e00ebb33626940717433507ac4ea9beebd7b /scripts
parent1b68f71348ecf3983b76b40d7940da8377f049b7 (diff)
#824 Add c,py,glsl to the script's default file types
Diffstat (limited to 'scripts')
-rw-r--r--scripts/code_tools/fix_whitespace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/code_tools/fix_whitespace.py b/scripts/code_tools/fix_whitespace.py
index 1c2ba00bb3..37e15c6d10 100644
--- a/scripts/code_tools/fix_whitespace.py
+++ b/scripts/code_tools/fix_whitespace.py
@@ -66,7 +66,7 @@ def process_directory(directory, extensions, tab_stop):
def main():
parser = argparse.ArgumentParser(description='Convert tabs to spaces in files, considering tab stops.')
- parser.add_argument('-e', '--extensions', type=str, default='cpp,h,hpp,inl,cmake', help='Comma-separated list of file extensions to process (default: "cpp,h,hpp,inl,cmake")')
+ parser.add_argument('-e', '--extensions', type=str, default='c,cpp,h,hpp,inl,py,glsl,cmake', help='Comma-separated list of file extensions to process (default: "c,cpp,h,hpp,inl,py,glsl,cmake")')
parser.add_argument('-t', '--tabstop', type=int, default=4, help='Tab stop size (default: 4)')
parser.add_argument('-d', '--directory', type=str, required=True, help='Directory to process')