Skip to content

Clean up Python#15

Open
r-barnes wants to merge 1 commit intoadbuerger:mainfrom
r-barnes:richard/python_cleaning
Open

Clean up Python#15
r-barnes wants to merge 1 commit intoadbuerger:mainfrom
r-barnes:richard/python_cleaning

Conversation

@r-barnes
Copy link
Copy Markdown

Nice work! I'm hoping to use it, but wanted to do a little cleaning first as I learn about the code.

  • Add some missing type annotations
  • Sort imports
  • Ensure that all self.X variables are defined in __init__ to provably avoid interface changes.
  • As a side-effect, trailing whitespace is stripped - this can and should be enabled as a default in every code editor to prevent messes such as this.

@r-barnes r-barnes mentioned this pull request Dec 24, 2021
@r-barnes r-barnes force-pushed the richard/python_cleaning branch 2 times, most recently from 62fcf6d to 7777a78 Compare December 24, 2021 21:39
@r-barnes r-barnes force-pushed the richard/python_cleaning branch from 7777a78 to e589881 Compare December 24, 2021 21:51
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