mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 07:40:36 +00:00
Style: Trim trailing whitespace and ensure newline at EOF
Found by apply the file_format checks again via #91597.
This commit is contained in:
parent
17a81260cb
commit
7d03b1de0b
@ -43,4 +43,3 @@ CheckOptions:
|
|||||||
- key: readability-braces-around-statements.ShortStatementLines
|
- key: readability-braces-around-statements.ShortStatementLines
|
||||||
value: '0'
|
value: '0'
|
||||||
...
|
...
|
||||||
|
|
||||||
|
1
.github/actions/godot-api-dump/action.yml
vendored
1
.github/actions/godot-api-dump/action.yml
vendored
@ -21,4 +21,3 @@ runs:
|
|||||||
with:
|
with:
|
||||||
name: 'godot-api-dump'
|
name: 'godot-api-dump'
|
||||||
path: './godot-api/*'
|
path: './godot-api/*'
|
||||||
|
|
||||||
|
@ -588,7 +588,7 @@ def build_gles3_header(
|
|||||||
fd.write("\t}\n\n")
|
fd.write("\t}\n\n")
|
||||||
|
|
||||||
fd.write("};\n\n")
|
fd.write("};\n\n")
|
||||||
fd.write("#endif\n\n")
|
fd.write("#endif\n")
|
||||||
|
|
||||||
|
|
||||||
def build_gles3_headers(target, source, env):
|
def build_gles3_headers(target, source, env):
|
||||||
|
@ -1,2 +1 @@
|
|||||||
/* Localized versions of Info.plist keys */
|
/* Localized versions of Info.plist keys */
|
||||||
|
|
||||||
|
@ -5,4 +5,3 @@ deadlock:tests/core/templates/test_command_queue.h
|
|||||||
deadlock:modules/text_server_adv/text_server_adv.cpp
|
deadlock:modules/text_server_adv/text_server_adv.cpp
|
||||||
deadlock:modules/text_server_fb/text_server_fb.cpp
|
deadlock:modules/text_server_fb/text_server_fb.cpp
|
||||||
race:modules/navigation/nav_map.cpp
|
race:modules/navigation/nav_map.cpp
|
||||||
|
|
||||||
|
@ -6,4 +6,3 @@ func test():
|
|||||||
var a := Foo.A
|
var a := Foo.A
|
||||||
var b := a as int + 1
|
var b := a as int + 1
|
||||||
print(b)
|
print(b)
|
||||||
|
|
||||||
|
@ -3,4 +3,3 @@ const Constants = preload("gdscript_to_preload.notest.gd")
|
|||||||
func test():
|
func test():
|
||||||
var a := Constants.A
|
var a := Constants.A
|
||||||
print(a)
|
print(a)
|
||||||
|
|
||||||
|
@ -23,4 +23,3 @@ func test():
|
|||||||
bar([3])
|
bar([3])
|
||||||
bar([4])
|
bar([4])
|
||||||
bar([5])
|
bar([5])
|
||||||
|
|
||||||
|
@ -4,4 +4,3 @@ func test():
|
|||||||
|
|
||||||
# Validated native static call without return value.
|
# Validated native static call without return value.
|
||||||
Node.print_orphan_nodes()
|
Node.print_orphan_nodes()
|
||||||
|
|
||||||
|
@ -42,4 +42,3 @@ class GodotProjectManager : GodotEditor() {
|
|||||||
// Nothing to do here.. we have yet to select a project to load.
|
// Nothing to do here.. we have yet to select a project to load.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1955,4 +1955,3 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
|
|||||||
private int mEGLContextClientVersion;
|
private int mEGLContextClientVersion;
|
||||||
private boolean mPreserveEGLContextOnPause;
|
private boolean mPreserveEGLContextOnPause;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,4 +36,3 @@ nexusPublishing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -382,7 +382,7 @@ TEST_CASE_TEMPLATE("[Math] remap", T, float, double) {
|
|||||||
CHECK(Math::remap((T)-200.0, (T)-100.0, (T)-200.0, (T)0.0, (T)-1000.0) == doctest::Approx((T)-1000.0));
|
CHECK(Math::remap((T)-200.0, (T)-100.0, (T)-200.0, (T)0.0, (T)-1000.0) == doctest::Approx((T)-1000.0));
|
||||||
CHECK(Math::remap((T)-250.0, (T)-100.0, (T)-200.0, (T)0.0, (T)-1000.0) == doctest::Approx((T)-1500.0));
|
CHECK(Math::remap((T)-250.0, (T)-100.0, (T)-200.0, (T)0.0, (T)-1000.0) == doctest::Approx((T)-1500.0));
|
||||||
|
|
||||||
// Note: undefined behaviour can happen when `p_istart == p_istop`. We don't bother testing this as it will
|
// Note: undefined behavior can happen when `p_istart == p_istop`. We don't bother testing this as it will
|
||||||
// vary between hardware and compilers properly implementing IEEE 754.
|
// vary between hardware and compilers properly implementing IEEE 754.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,4 +48,3 @@ protected:
|
|||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user