Skip to content

Commit

Permalink
optimise imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Furtif committed Jul 15, 2024
1 parent 587bcb0 commit 5a68df0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
9 changes: 4 additions & 5 deletions dataeditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@
import math
import string

import PyQt5.QtCore as core
import PyQt5.QtGui as gui
import PyQt5.QtWidgets as widgets

import ecu
import options
import version

hex_decoder = codecs.getdecoder("hex_codec")

import PyQt5.QtGui as gui
import PyQt5.QtCore as core
import PyQt5.QtWidgets as widgets

_ = options.translator('ddt4all')


Expand Down
1 change: 0 additions & 1 deletion ecu.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import elm
import json
import options
import version

_ = options.translator('ddt4all')

Expand Down
3 changes: 1 addition & 2 deletions options.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import gettext
import json
import locale
import os

import json

simulation_mode = False
port_speed = 38400
port_name = ""
Expand Down
1 change: 1 addition & 0 deletions parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import elm
import json
import options
import version
from uiutils import *

_ = options.translator('ddt4all')
Expand Down
1 change: 0 additions & 1 deletion sniffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import ecu
import options
import version

_ = options.translator('ddt4all')

Expand Down
2 changes: 0 additions & 2 deletions uiutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import PyQt5.QtGui as gui

import version


def getChildNodesByName(parent, name):
nodes = []
Expand Down

0 comments on commit 5a68df0

Please sign in to comment.