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

PEP 8: import #86

Open
matecsaj opened this issue Mar 15, 2022 · 0 comments
Open

PEP 8: import #86

matecsaj opened this issue Mar 15, 2022 · 0 comments

Comments

@matecsaj
Copy link

When generating code, there is an opportunity to make the imports more Pythonic, more specifically PEP 8 compliant.

This:

import pathlib
import pygubu
import tkinter as tk
import tkinter.ttk as ttk

Should be more like this:

# Standard library imports.
import pathlib
import tkinter as tk
import tkinter.ttk as ttk

# Related third party imports.
import pygubu

# Local application/library specific imports.

@matecsaj matecsaj changed the title PEP 8 and imports PEP 8: import Mar 15, 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

No branches or pull requests

1 participant