ancho85 / pylint-playero-plugin

A plugin for pylint to work with Playero ERP
GNU General Public License v2.0
0 stars 0 forks source link

Classes' attribute analysis fails when that attribute is assigned anywhere in the code #19

Closed ancho85 closed 9 years ago

ancho85 commented 9 years ago

If an attribute is accessed only to be read, all is ok. But is that attribute is somehow written, an error happens in astroid: 'dict' has no attribute 'append'

from OpenOrange import *

ParentStock = SuperClass("Stock", "Record", __file__)
class Stock(ParentStock):

    pass

from StockSettings import StockSettings
ss = StockSettings.bring()
Stock.allowInvertedStockValues = ss.AllowInvertedStockValues #PROBLEM HERE
ancho85 commented 9 years ago

problem no longer active