other time: Correct indentation due to linter report
using pylinter3
recommends having cut lines with same indent as starting [ or (
@@ -33,8 +33,11 @@ from math import ceil
logger = getLogger(__name__)
RequestParams = namedtuple('RequestParams', 'request_id source destination bidir trx_type' +
-' trx_mode nodes_list loose_list spacing power nb_channel f_min f_max format baud_rate OSNR bit_rate roll_off tx_osnr min_spacing cost path_bandwidth')
-DisjunctionParams = namedtuple('DisjunctionParams','disjunction_id relaxable link_diverse node_diverse disjunctions_req')
+ ' trx_mode nodes_list loose_list spacing power nb_channel f_min' +
+ ' f_max format baud_rate OSNR bit_rate roll_off tx_osnr' +
+ ' min_spacing cost path_bandwidth')
+DisjunctionParams = namedtuple('DisjunctionParams', 'disjunction_id relaxable link' +
+ '_diverse node_diverse disjunctions_req')
class Path_request:
def __init__(self, *args, **params):
@@ -110,7 +113,8 @@ class Disjunction:
f'request-id-numbers: {self.disjunctions_req}'
'\n'])
-BLOCKING_NOPATH = ['NO_PATH', 'NO_PATH_WITH_CONSTRAINT', 'NO_FEASIBLE_BAUDRATE_WITH_SPACING',
+BLOCKING_NOPATH = ['NO_PATH', 'NO_PATH_WITH_CONSTRAINT',\
+ 'NO_FEASIBLE_BAUDRATE_WITH_SPACING',\
'NO_COMPUTED_SNR']
BLOCKING_NOMODE = ['NO_FEASIBLE_MODE', 'MODE_NOT_FEASIBLE']
BLOCKING_NOSPECTRUM = 'NO_SPECTRUM'
