Skip to content

Conversation

@dribalta
Copy link
Contributor

Removed (some) trailing whitespaces and spaces between variables and semicolons to follow PEP8 formatting guidelines and ensure consistency with other annotations in the code.
The PEP484 and PEP3107 guidelines and examples indicate that the correct spacing should be:

def foo(a: expression, b: expression = 5):
    ...

TODO/CHECK:

  • Consider in which modules annotations from future should be imported.
  • For functions with varying outputs, consider annotating the result (might not be insightful).

@gbernardino gbernardino merged commit 357e208 into creatis-ULTIM:main Jan 26, 2025
@dribalta dribalta deleted the annotations branch March 12, 2025 21:09
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.

2 participants