Revert "fix complains from flake8"

This reverts commit 60af4109ab.
This commit is contained in:
Kashiko Koibumi 2024-05-17 11:51:12 +09:00
parent 1e53720b54
commit a02ef70607
No known key found for this signature in database
GPG Key ID: 8F06E069E37C40C4
5 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,7 @@
Message encoding end decoding functions Message encoding end decoding functions
""" """
import string
import zlib import zlib
import messagetypes import messagetypes

View File

@ -11,6 +11,7 @@ import select
import socket import socket
import sys import sys
import time import time
import warnings
from errno import ( from errno import (
EADDRINUSE, EAGAIN, EALREADY, EBADF, ECONNABORTED, ECONNREFUSED, EADDRINUSE, EAGAIN, EALREADY, EBADF, ECONNABORTED, ECONNREFUSED,
ECONNRESET, EHOSTUNREACH, EINPROGRESS, EINTR, EINVAL, EISCONN, ENETUNREACH, ECONNRESET, EHOSTUNREACH, EINPROGRESS, EINTR, EINVAL, EISCONN, ENETUNREACH,

View File

@ -3,6 +3,7 @@ Track randomize ordered dict
""" """
from threading import RLock from threading import RLock
from time import time from time import time
from binascii import hexlify
try: try:
import helper_random import helper_random

View File

@ -1,6 +1,7 @@
""" """
Sqlite Inventory Sqlite Inventory
""" """
import sqlite3
import time import time
from threading import RLock from threading import RLock

View File

@ -42,7 +42,7 @@ def translateText(context, text, n=None):
enableGUI = True enableGUI = True
if enableGUI: if enableGUI:
try: try:
from PyQt6 import QtWidgets from PyQt6 import QtCore, QtGui, QtWidgets
except Exception as err: except Exception as err:
print('PyBitmessage requires PyQt unless you want to run it as a daemon' print('PyBitmessage requires PyQt unless you want to run it as a daemon'
' and interact with it using the API.' ' and interact with it using the API.'