fix complains from flake8
This commit is contained in:
parent
24b83aae2a
commit
60af4109ab
|
@ -2,7 +2,6 @@
|
||||||
Message encoding end decoding functions
|
Message encoding end decoding functions
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import string
|
|
||||||
import zlib
|
import zlib
|
||||||
|
|
||||||
import messagetypes
|
import messagetypes
|
||||||
|
|
|
@ -11,7 +11,6 @@ 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,
|
||||||
|
|
|
@ -3,7 +3,6 @@ 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
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
"""
|
"""
|
||||||
Sqlite Inventory
|
Sqlite Inventory
|
||||||
"""
|
"""
|
||||||
import sqlite3
|
|
||||||
import time
|
import time
|
||||||
from threading import RLock
|
from threading import RLock
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ def translateText(context, text, n=None):
|
||||||
enableGUI = True
|
enableGUI = True
|
||||||
if enableGUI:
|
if enableGUI:
|
||||||
try:
|
try:
|
||||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
from PyQt6 import 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.'
|
||||||
|
|
Reference in New Issue
Block a user