Skip to content

Better format and static type Grapple#820

Open
mubinulhaque wants to merge 1 commit into
GodotVR:masterfrom
mubinulhaque:grapple_formatting
Open

Better format and static type Grapple#820
mubinulhaque wants to merge 1 commit into
GodotVR:masterfrom
mubinulhaque:grapple_formatting

Conversation

@mubinulhaque

Copy link
Copy Markdown
Contributor

In accordance with style guide given here:

  • Remove space between variable names and colons whenever types must be specified
  • Remove types whenever inferring is possible
  • Add return type to five functions
  • Reorder functions in accordance with the style guide above
  • Format multiline statements for better readability
  • Clarify comments of variables and methods
  • Add suffixes to three exported variables
  • Replace exclamation marks with not keyword
  • Replace connect(signal, Callable) with signal.connect(Callable)

Testing

The Grappling demo had no issues not present in master.

Disclaimer

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant