Skip to content

Commit 7d03b1d

Browse files
committed
Style: Trim trailing whitespace and ensure newline at EOF
Found by apply the file_format checks again via godotengine#91597.
1 parent 17a8126 commit 7d03b1d

File tree

54 files changed

+54
-66
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+54
-66
lines changed

.clang-tidy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ CheckOptions:
4343
- key: readability-braces-around-statements.ShortStatementLines
4444
value: '0'
4545
...
46-

.github/actions/godot-api-dump/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ runs:
2121
with:
2222
name: 'godot-api-dump'
2323
path: './godot-api/*'
24-

doc/classes/GDExtensionManager.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<return type="int" enum="GDExtensionManager.LoadStatus" />
4444
<param index="0" name="path" type="String" />
4545
<description>
46-
Reloads the extension at the given file path. The [param path] needs to point to a valid [GDExtension], otherwise this method may return either [constant LOAD_STATUS_NOT_LOADED] or [constant LOAD_STATUS_FAILED].
46+
Reloads the extension at the given file path. The [param path] needs to point to a valid [GDExtension], otherwise this method may return either [constant LOAD_STATUS_NOT_LOADED] or [constant LOAD_STATUS_FAILED].
4747
[b]Note:[/b] You can only reload extensions in the editor. In release builds, this method always fails and returns [constant LOAD_STATUS_FAILED].
4848
</description>
4949
</method>

doc/classes/GPUParticles2D.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<method name="restart">
4444
<return type="void" />
4545
<description>
46-
Restarts the particle emission cycle, clearing existing particles. To avoid particles vanishing from the viewport, wait for the [signal finished] signal before calling.
46+
Restarts the particle emission cycle, clearing existing particles. To avoid particles vanishing from the viewport, wait for the [signal finished] signal before calling.
4747
[b]Note:[/b] The [signal finished] signal is only emitted by [member one_shot] emitters.
4848
</description>
4949
</method>

doc/classes/Node.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@
991991
[b]Note:[/b] When changing the name, the following characters will be replaced with an underscore: ([code].[/code] [code]:[/code] [code]@[/code] [code]/[/code] [code]"[/code] [code]%[/code]). In particular, the [code]@[/code] character is reserved for auto-generated names. See also [method String.validate_node_name].
992992
</member>
993993
<member name="owner" type="Node" setter="set_owner" getter="get_owner">
994-
The owner of this node. The owner must be an ancestor of this node. When packing the owner node in a [PackedScene], all the nodes it owns are also saved with it.
994+
The owner of this node. The owner must be an ancestor of this node. When packing the owner node in a [PackedScene], all the nodes it owns are also saved with it.
995995
[b]Note:[/b] In the editor, nodes not owned by the scene root are usually not displayed in the Scene dock, and will [b]not[/b] be saved. To prevent this, remember to set the owner after calling [method add_child]. See also (see [member unique_name_in_owner])
996996
</member>
997997
<member name="physics_interpolation_mode" type="int" setter="set_physics_interpolation_mode" getter="get_physics_interpolation_mode" enum="Node.PhysicsInterpolationMode" default="0">

doc/classes/TextEdit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@
11931193
<param index="2" name="wrap_index" type="int" default="-1" />
11941194
<param index="3" name="caret_index" type="int" default="0" />
11951195
<description>
1196-
Sets the selection origin line to the [param line] for the given [param caret_index]. If the selection origin is moved to the caret position, the selection will deselect.
1196+
Sets the selection origin line to the [param line] for the given [param caret_index]. If the selection origin is moved to the caret position, the selection will deselect.
11971197
If [param can_be_hidden] is [code]false[/code], The line will be set to the nearest unhidden line below or above.
11981198
If [param wrap_index] is [code]-1[/code], the selection origin column will be clamped to the [param line]'s length. If [param wrap_index] is greater than [code]-1[/code], the column will be moved to attempt to match the visual x position on the line's [param wrap_index] to the position from the last time [method set_selection_origin_column] or [method select] was called.
11991199
</description>

doc/classes/TileMapLayer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<method name="get_navigation_map" qualifiers="const">
9898
<return type="RID" />
9999
<description>
100-
Returns the [RID] of the [NavigationServer2D] navigation used by this [TileMapLayer].
100+
Returns the [RID] of the [NavigationServer2D] navigation used by this [TileMapLayer].
101101
By default this returns the default [World2D] navigation map, unless a custom map was provided using [method set_navigation_map].
102102
</description>
103103
</method>

doc/classes/Time.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
<method name="get_time_zone_from_system" qualifiers="const">
153153
<return type="Dictionary" />
154154
<description>
155-
Returns the current time zone as a dictionary of keys: [code]bias[/code] and [code]name[/code].
155+
Returns the current time zone as a dictionary of keys: [code]bias[/code] and [code]name[/code].
156156
- [code]bias[/code] is the offset from UTC in minutes, since not all time zones are multiples of an hour from UTC.
157157
- [code]name[/code] is the localized name of the time zone, according to the OS locale settings of the current user.
158158
</description>

doc/classes/VisualShaderNodeFrame.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
A frame other visual shader nodes can be attached to for better organization.
55
</brief_description>
66
<description>
7-
A rectangular frame that can be used to group visual shader nodes together to improve organization.
7+
A rectangular frame that can be used to group visual shader nodes together to improve organization.
88
Nodes attached to the frame will move with it when it is dragged and it can automatically resize to enclose all attached nodes.
99
Its title, description and color can be customized.
1010
</description>

drivers/gles3/shaders/effects/post.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* clang-format off */
22
#[modes]
3-
mode_default =
3+
mode_default =
44

55
#[specializations]
66

0 commit comments

Comments
 (0)