Imports cleanup

This commit is contained in:
Veronica K. B. Olsen
2020-09-26 13:02:51 +02:00
parent e36892ed38
commit eb66b879c5
27 changed files with 37 additions and 38 deletions
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from os import path
from datetime import datetime
+1 -1
View File
@@ -25,9 +25,9 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import nw
import logging
import json
import nw
from os import path
from time import time
+1 -1
View File
@@ -27,8 +27,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtGui import QColor, QPalette, QPainter, QFontMetrics
from PyQt5.QtCore import (
+1 -1
View File
@@ -30,8 +30,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from time import time
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtCore import Qt, QRegularExpression
from PyQt5.QtGui import (
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (
+5 -3
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (
@@ -34,9 +34,11 @@ from PyQt5.QtWidgets import (
QListWidgetItem, QDialogButtonBox, QLabel, QMessageBox
)
from nw.constants import nwAlert, nwItemType, nwItemClass, nwItemLayout, nwConst
from nw.gui.custom import QHelpLabel
from nw.core import NWDoc
from nw.gui.custom import QHelpLabel
from nw.constants import (
nwAlert, nwItemType, nwItemClass, nwItemLayout, nwConst
)
logger = logging.getLogger(__name__)
+1 -1
View File
@@ -29,8 +29,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtCore import Qt, QUrl, QSize, pyqtSlot
from PyQt5.QtGui import (
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QFont, QPixmap
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtWidgets import (
QDialog, QVBoxLayout, QGridLayout, QLineEdit, QComboBox, QLabel,
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtCore import QUrl, QProcess
from PyQt5.QtGui import QDesktopServices
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from time import time
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from os import path
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from os import path
from datetime import datetime
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QIcon, QPixmap, QColor, QBrush
+1 -1
View File
@@ -26,8 +26,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from PyQt5.QtCore import Qt, QSize
from PyQt5.QtGui import QIcon
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from os import path
+1 -1
View File
@@ -25,8 +25,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import logging
import nw
import logging
from time import time
+1 -1
View File
@@ -26,9 +26,9 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import nw
import logging
import configparser
import nw
from os import path, listdir
from math import ceil
+1 -1
View File
@@ -25,9 +25,9 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
import nw
import logging
import json
import nw
from os import path
from datetime import datetime