scripts/pylint/pylintrc
changeset 1616 e7be52fec71c
parent 848 07fd6a603c24
child 2071 0aa24d8655ac
equal deleted inserted replaced
1615:81f26c9809dc 1616:e7be52fec71c
   131 
   131 
   132 # Regular expression which should only match correct class names
   132 # Regular expression which should only match correct class names
   133 class-rgx=[A-Z_][a-zA-Z0-9]+$
   133 class-rgx=[A-Z_][a-zA-Z0-9]+$
   134 
   134 
   135 # Regular expression which should only match correct function names
   135 # Regular expression which should only match correct function names
   136 function-rgx=[a-z_][a-zA-Z0-9_]{2,30}$
   136 function-rgx=[a-z_][a-zA-Z0-9_]{2,40}$
   137 
   137 
   138 # Regular expression which should only match correct method names
   138 # Regular expression which should only match correct method names
   139 method-rgx=[a-z_][a-zA-Z0-9_]{2,30}$
   139 method-rgx=[a-z_][a-zA-Z0-9_]{2,40}$
   140 
   140 
   141 # Regular expression which should only match correct instance attribute names
   141 # Regular expression which should only match correct instance attribute names
   142 attr-rgx=[a-z_][a-z0-9_]{2,30}$
   142 attr-rgx=[a-z_][a-z0-9_]{2,30}$
   143 #alternative
   143 #alternative
   144 #attr-rgx=([a-z_][a-z0-9_]{2,30}|([a-z_][a-zA-Z0-9]{2,30}))$
   144 #attr-rgx=([a-z_][a-z0-9_]{2,30}|([a-z_][a-zA-Z0-9]{2,30}))$