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

Separate standard library imports and third party imports. #514

Closed
sile opened this issue Sep 13, 2019 · 1 comment
Closed

Separate standard library imports and third party imports. #514

sile opened this issue Sep 13, 2019 · 1 comment

Comments

@sile
Copy link
Member

sile commented Sep 13, 2019

PEP-8 recommends separating standard library imports and third party imports (see below).

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.

From: https://www.python.org/dev/peps/pep-0008/#imports

Optuna code should follow this rule.

@sile
Copy link
Member Author

sile commented Dec 10, 2019

Resolved by #777 .

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

No branches or pull requests

2 participants