Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Python cosmetics #645

Conversation

rettichschnidi
Copy link
Contributor

Stuff that PyCharm (rightfully) pesters me with.

No functional changes intended.

Copy & paste, spelling error.
Function names:
> Function names should be lowercase, with words separated by
> underscores as necessary to improve readability.

Imports:
> Imports should be grouped in the following order:
>
> 1. Standard library imports.
> 2. Related third party imports.
> 3. Local application/library specific imports.
>
> You should put a blank line between each group of imports.

Inline comments:
> Inline comments should be separated by at least two spaces from the
> statement.

Blank lines:
> Surround top-level function and class definitions with two blank
> lines.
Multi-line docstrings:
> Insert a blank line after all docstrings (one-line or multi-line) that
> document a class -- generally speaking, the class's methods are
> separated from each other by a single blank line, and the docstring
> needs to be offset from the first method by a blank line.
@rettichschnidi rettichschnidi merged commit ca5e599 into eclipse-wakaama:master Jan 28, 2022
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.

None yet

2 participants