mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
CI: Update static checks to black 23.3.0
And apply it to the codebase, removing empty lines at the start of blocks.
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user