fix complains from flake8

This commit is contained in:
Kashiko Koibumi 2024-05-17 02:14:59 +09:00
parent 24b83aae2a
commit 60af4109ab
No known key found for this signature in database
GPG Key ID: 8F06E069E37C40C4
5 changed files with 1 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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