Hi Duncam
Duncan Gibson wrote:
>>> """ simple pylint example """
>>> def afunc(value_with_long_name):
>>> """ a doc string """
>>> value_with_long_name = 3
>>> i_want_to_mask_this_warning = value_with_long_name +
>>> value_with_long_name # pylint: disable=W0612
>>> iwant_to_see_thi
>> """ simple pylint example """
>> def afunc(value_with_long_name):
>> """ a doc string """
>> value_with_long_name = 3
>> i_want_to_mask_this_warning = value_with_long_name +
>> value_with_long_name # pylint: disable=W0612
>> iwant_to_see_this_warning = 7
>> print value_with_l
Hi Dustin,
Quoting "Rasener, Dustin M" :
Try this:
""" simple pylint example """
def afunc(value_with_long_name):
""" a doc string """
value_with_long_name = 3
# pylint: disable=W0612
i_want_to_mask_this_warning = value_with_long_name +
value_with_long_name
# pylint: enable
Try this:
""" simple pylint example """
def afunc(value_with_long_name):
""" a doc string """
value_with_long_name = 3
# pylint: disable=W0612
i_want_to_mask_this_warning = value_with_long_name +
value_with_long_name
# pylint: enable=W0612
iwant_to_see_this_warning = 7