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

Move __version__ before import #40

Merged
merged 1 commit into from
Nov 8, 2022
Merged

Move __version__ before import #40

merged 1 commit into from
Nov 8, 2022

Conversation

planet36
Copy link
Contributor

@planet36 planet36 commented Nov 8, 2022

PEP 8 says:

Module level “dunders” (i.e. names with two leading and two trailing
underscores) such as __all__, __author__, __version__, etc. should
be placed after the module docstring but before any import statements
except from __future__ imports.

https://peps.python.org/pep-0008/#module-level-dunder-names

PEP 8 says:
> Module level “dunders” (i.e. names with two leading and two trailing
> underscores) such as `__all__`, `__author__`, `__version__`, etc. should
> be placed after the module docstring but before any import statements
> except `from __future__` imports.

https://peps.python.org/pep-0008/#module-level-dunder-names
@hartwork hartwork merged commit 32a94c5 into hsluv:master Nov 8, 2022
@planet36 planet36 deleted the dunder-order branch November 15, 2022 14:27
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