Skip to content

Better format and static type Desktop Flight#773

Open
mubinulhaque wants to merge 4 commits intoGodotVR:masterfrom
mubinulhaque:desktop_flight_format
Open

Better format and static type Desktop Flight#773
mubinulhaque wants to merge 4 commits intoGodotVR:masterfrom
mubinulhaque:desktop_flight_format

Conversation

@mubinulhaque
Copy link
Contributor

@mubinulhaque mubinulhaque commented Dec 15, 2025

In accordance with style guide given here:

  • Remove space between extends statement and class doc comment
  • Add doc comments to variables and functions where possible
  • Replace exclamation marks with not keyword
  • Format multiline statements for more readability
  • Add spaces before and after equal signs
  • Remove unnecessary _ready() function
  • Specify return type of function physics_movement()
  • Replace emit_signal("signal") with signal.emit()

Disclaimer

No generative AI was used to enhance or create the code given here.

@BastiaanOlij BastiaanOlij added the cleanup Cleaning up code or aligning Godot 3 and 4 versions label Dec 27, 2025
@BastiaanOlij BastiaanOlij added this to the 4.6.0 milestone Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Cleaning up code or aligning Godot 3 and 4 versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants