Your IP : 216.73.216.196
�
���Xc @ s` d d l m Z m Z d d l m Z y
e Z Wn e k
rI e Z n Xd � Z d � Z
d S( i����( t BasicCheckert astroid( t
augment_visitc C so t | j � t j � rd t | j t j t j f � rd t | j t j � rd t | j j t � rd d S| � d S( s�
This augmentation is to allow comments on class attributes, for example:
class SomeClass(object):
some_attribute = 5
''' This is a docstring for the above attribute '''
N(
t
isinstancet previous_siblingR t Assignt parentt Classt Modulet valuet Constt
BASESTRING( t chaint node( ( sL /opt/alt/python27/lib/python2.7/site-packages/pylint_common/augmentations.pyt allow_attribute_comments s
c C sD t t d � r! t t d � } n t t d � } t | | t � d S( Nt
visit_exprt
visit_discard( t hasattrR t getattrR R ( t lintert expr_meth( ( sL /opt/alt/python27/lib/python2.7/site-packages/pylint_common/augmentations.pyt apply_augmentations s N( t pylint.checkers.baseR R t pylint_plugin_utilsR t
basestringR t NameErrort strR R ( ( ( sL /opt/alt/python27/lib/python2.7/site-packages/pylint_common/augmentations.pyt <module> s