From d400c030b20c6d1ad74cf7e36e20a44c23005788 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Tue, 18 Jul 2023 21:44:16 +0200 Subject: [PATCH] More sorting of imports --- poor_mans_visualisation.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/poor_mans_visualisation.py b/poor_mans_visualisation.py index f20f716..56ee8d5 100755 --- a/poor_mans_visualisation.py +++ b/poor_mans_visualisation.py @@ -2,12 +2,15 @@ from birdvisu.annotations import AnnotatedTopology, AnnotatorID from birdvisu.annotations.analysis import TopologyDifference, ShortestPathTree +from birdvisu.ospfsock import BirdSocketConnection from birdvisu.providers import BirdSocketTopologyProvider, OspfFileTopologyProvider, OspfFileParseError from birdvisu.topo_v3 import TopologyV3, VertexID -from PySide6 import QtCore, QtGui, QtWidgets from collections import defaultdict +from enum import Enum, auto from ipaddress import IPv4Address +from PySide6 import QtCore, QtGui, QtWidgets +from PySide6.QtCore import Slot from random import randint import sys @@ -33,10 +36,6 @@ class MyGraphicsRectItem(QtWidgets.QGraphicsRectItem): self.shapes[e].setLine(qlinef) return super().mouseMoveEvent(evt) -from enum import Enum, auto -from PySide6.QtCore import Slot -from birdvisu.ospfsock import BirdSocketConnection - class BirdTopologyLoader(QtWidgets.QDialog): def __init__(self, *a, **kwa): super().__init__(*a, **kwa)