scripts/pylint/pylintrc
changeset 2282 47a7eb2704c2
parent 2071 0aa24d8655ac
equal deleted inserted replaced
2281:a702d92a57a6 2282:47a7eb2704c2
    64 # R0201: Method could be a function. Used when a method doesn't use its bound instance, and so 
    64 # R0201: Method could be a function. Used when a method doesn't use its bound instance, and so 
    65 #        could be written as a function.
    65 #        could be written as a function.
    66 # R0801: Similar lines in %s files. Indicates that a set of similar lines has been detected 
    66 # R0801: Similar lines in %s files. Indicates that a set of similar lines has been detected 
    67 #        among multiple file. This usually means that the code should be refactored to avoid this
    67 #        among multiple file. This usually means that the code should be refactored to avoid this
    68 #        duplication.
    68 #        duplication.
    69 # E1103: %s %r has no %r member (but some types could not be inferred) Used when a variable is 
       
    70 #        accessed for an unexistant member, but astng was not able to interpret all possible 
       
    71 #        types of this variable.
       
    72 # E1101: %s %r has no %r member Used when a variable is accessed for an unexistant member.
       
    73 # C0302: Too many lines in module (%s) Used when a module has too much lines, reducing 
    69 # C0302: Too many lines in module (%s) Used when a module has too much lines, reducing 
    74 #        its readibility.
    70 #        its readibility.
    75 # W0602: Using global for %r but no assigment is done Used when a variable is defined through 
    71 # W0602: Using global for %r but no assigment is done Used when a variable is defined through 
    76 #        the "global" statement but no assigment to this variable is done.
    72 #        the "global" statement but no assigment to this variable is done.
    77 # W0603: Using the global statement Used when you use the "global" statement to update 
    73 # W0603: Using the global statement Used when you use the "global" statement to update 
    78 #        a global variable. PyLint just try to discourage this usage. That doesn't mean 
    74 #        a global variable. PyLint just try to discourage this usage. That doesn't mean 
    79 #        you can not use it !
    75 #        you can not use it !
    80 # W0704: Except doesn't do anything Used when an except clause does nothing but "pass" 
    76 # W0704: Except doesn't do anything Used when an except clause does nothing but "pass" 
    81 #        and there is no "else" clause.
    77 #        and there is no "else" clause.
    82 # I0011: Locally disabling %s Used when an inline option disable a message or a messages category.
    78 # I0011: Locally disabling %s Used when an inline option disable a message or a messages category.
    83 disable-msg=W0613,W0622,W0232,W0142,W0102,W0212,R0201,R0801,E1103,E1101,C0302,W0602,W0603,W0704,I0011
    79 disable-msg=W0613,W0622,W0232,W0142,W0102,W0212,R0201,R0801,C0302,W0602,W0603,W0704,I0011
    84 
    80 
    85 
    81 
    86 [REPORTS]
    82 [REPORTS]
    87 
    83 
    88 # set the output format. Available formats are text, parseable, colorized, msvs
    84 # set the output format. Available formats are text, parseable, colorized, msvs