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

style: format code with Autopep8 and isort #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Graph/edge.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
"""A Edge class to config the Edge in Graph"""
from tkinter import *
from typing import TYPE_CHECKING

from ttkbootstrap import *
from tkinter import *


if TYPE_CHECKING:
from frame_graph import FrameGraph
Expand Down
4 changes: 2 additions & 2 deletions src/Graph/frame_graph.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Frame contains Graph to visualize the algorithm"""
from ttkbootstrap import *
from tkinter import *
from typing import TYPE_CHECKING

from tkinter import *
from ttkbootstrap import *

from .edge import Edge
from .node import Node
Expand Down
3 changes: 1 addition & 2 deletions src/Graph/node.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
"""A Node class to config the node in Graph"""
from tkinter import *
from typing import TYPE_CHECKING

from ttkbootstrap import *
from tkinter import *


if TYPE_CHECKING:
from .frame_graph import FrameGraph
Expand Down
5 changes: 2 additions & 3 deletions src/Graph/window.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
"""The Window shows Application"""
from ttkbootstrap import *
from tkinter import *

from ttkbootstrap import *

from ..utils import HEIGHT_WINDOW, WIDTH_WINDOW
from .frame_graph import FrameGraph

from ..utils import WIDTH_WINDOW, HEIGHT_WINDOW


class CWindow(Window):
"""The window class inherits from tb.Window"""
Expand Down
Loading