Re: [Python-projects] disabling warning for one long line only (potential ppylint bug???)

2010-07-21 Thread Klaus Foerster
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

Re: [Python-projects] disabling warning for one long line only (potential ppylint bug???)

2010-07-21 Thread Duncan Gibson
>> """ 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

Re: [Python-projects] disabling warning for one long line only (potential ppylint bug???)

2010-07-21 Thread klausf
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

Re: [Python-projects] disabling warning for one long line only (potential ppylint bug???)

2010-07-21 Thread 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=W0612 iwant_to_see_this_warning = 7