pylint fixes
This commit is contained in:
parent
5597d45aed
commit
a937aff80f
5 changed files with 3 additions and 8 deletions
|
@ -6,7 +6,7 @@ from lbrynet.core.Error import ComponentStartConditionNotMet
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class RegisteredConditions(object):
|
class RegisteredConditions:
|
||||||
conditions = {}
|
conditions = {}
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ class RequiredCondition(metaclass=RequiredConditionType):
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
|
|
||||||
class ComponentManager(object):
|
class ComponentManager:
|
||||||
default_component_classes = {}
|
default_component_classes = {}
|
||||||
|
|
||||||
def __init__(self, reactor=None, analytics_manager=None, skip_components=None, **override_components):
|
def __init__(self, reactor=None, analytics_manager=None, skip_components=None, **override_components):
|
||||||
|
|
|
@ -5,7 +5,6 @@ import requests
|
||||||
import urllib
|
import urllib
|
||||||
import json
|
import json
|
||||||
import textwrap
|
import textwrap
|
||||||
import signal
|
|
||||||
from binascii import hexlify, unhexlify
|
from binascii import hexlify, unhexlify
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
from decimal import Decimal, InvalidOperation
|
from decimal import Decimal, InvalidOperation
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import code
|
import code
|
||||||
import argparse
|
import argparse
|
||||||
import logging.handlers
|
import logging.handlers
|
||||||
from exceptions import SystemExit
|
|
||||||
from twisted.internet import defer, reactor, threads
|
from twisted.internet import defer, reactor, threads
|
||||||
from lbrynet import analytics
|
from lbrynet import analytics
|
||||||
from lbrynet import conf
|
from lbrynet import conf
|
||||||
|
|
|
@ -12,7 +12,7 @@ from lbrynet.core import log_support
|
||||||
import argparse
|
import argparse
|
||||||
import logging.handlers
|
import logging.handlers
|
||||||
|
|
||||||
from twisted.internet import defer, reactor
|
from twisted.internet import reactor
|
||||||
#from jsonrpc.proxy import JSONRPCProxy
|
#from jsonrpc.proxy import JSONRPCProxy
|
||||||
|
|
||||||
from lbrynet import conf
|
from lbrynet import conf
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import logging
|
import logging
|
||||||
import socket
|
|
||||||
import errno
|
import errno
|
||||||
from binascii import hexlify
|
from binascii import hexlify
|
||||||
from collections import deque
|
from collections import deque
|
||||||
|
|
Loading…
Reference in a new issue