diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-19 23:33:02 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-06-19 23:33:02 +0200 |
commit | c9c941e339a6632247b6bd073d10bea548bed20b (patch) | |
tree | 436b16007c5d9b3451e7bc03e44ff2187f0c3b17 /glsl_builders.py | |
parent | 764193629ff0bac11c4a6ddfa946f1dd3d841799 (diff) | |
download | redot-engine-c9c941e339a6632247b6bd073d10bea548bed20b.tar.gz |
CI: Update static checks to black 23.3.0
And apply it to the codebase, removing empty lines at the start of blocks.
Diffstat (limited to 'glsl_builders.py')
-rw-r--r-- | glsl_builders.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/glsl_builders.py b/glsl_builders.py index 1dcae2fd75..706b50636e 100644 --- a/glsl_builders.py +++ b/glsl_builders.py @@ -47,7 +47,6 @@ def include_file_in_rd_header(filename: str, header_data: RDHeaderStruct, depth: line = fs.readline() while line: - index = line.find("//") if index != -1: line = line[:index] @@ -184,7 +183,6 @@ def include_file_in_raw_header(filename: str, header_data: RAWHeaderStruct, dept line = fs.readline() while line: - while line.find("#include ") != -1: includeline = line.replace("#include ", "").strip()[1:-1] |