diff --git a/.editorconfig b/.editorconfig index 06bc7028ea..e3ba7f10da 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,6 +5,10 @@ charset = utf-8 insert_final_newline = true trim_trailing_whitespace = true +[*.py] +indent_size = 4 +indent_style = space + [*.sh] indent_style = tab function_next_line = true diff --git a/source/tools/dist/dmgbuild-settings.py b/source/tools/dist/dmgbuild-settings.py index 7be997109d..9e934fe563 100644 --- a/source/tools/dist/dmgbuild-settings.py +++ b/source/tools/dist/dmgbuild-settings.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- import os.path # diff --git a/source/tools/spirv/compile.py b/source/tools/spirv/compile.py index b3eba12257..f8a637a370 100755 --- a/source/tools/spirv/compile.py +++ b/source/tools/spirv/compile.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 -# -*- mode: python-mode; python-indent-offset: 4; -*- # -# Copyright (C) 2023 Wildfire Games. +# Copyright (C) 2024 Wildfire Games. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/source/tools/templatesanalyzer/unit_tables.py b/source/tools/templatesanalyzer/unit_tables.py index b0dd13c00c..b60df5530f 100755 --- a/source/tools/templatesanalyzer/unit_tables.py +++ b/source/tools/templatesanalyzer/unit_tables.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 -# -*- mode: python-mode; python-indent-offset: 4; -*- # -# Copyright (C) 2023 Wildfire Games. +# Copyright (C) 2024 Wildfire Games. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal