| OLD | NEW | 
|    1 [MASTER] |    1 [MASTER] | 
|    2  |    2  | 
|    3 # Specify a configuration file. |    3 # Specify a configuration file. | 
|    4 #rcfile= |    4 #rcfile= | 
|    5  |    5  | 
|    6 # Python code to execute, usually for sys.path manipulation such as |    6 # Python code to execute, usually for sys.path manipulation such as | 
|    7 # pygtk.require(). |    7 # pygtk.require(). | 
|    8 #init-hook= |    8 #init-hook= | 
|    9  |    9  | 
|   10 # Profiled execution. |   10 # Profiled execution. | 
|   11 profile=no |   11 profile=no | 
|   12  |   12  | 
|   13 # Add <file or directory> to the black list. It should be a base name, not a |   13 # Add files or directories to the blacklist. They should be base names, not | 
|   14 # path. You may set this option multiple times. |   14 # paths. | 
|   15 ignore=CVS |   15 ignore=CVS | 
|   16  |   16  | 
|   17 # Pickle collected data for later comparisons. |   17 # Pickle collected data for later comparisons. | 
|   18 persistent=yes |   18 persistent=yes | 
|   19  |   19  | 
|   20 # List of plugins (as comma separated values of python modules names) to load, |   20 # List of plugins (as comma separated values of python modules names) to load, | 
|   21 # usually to register additional checkers. |   21 # usually to register additional checkers. | 
|   22 load-plugins= |   22 load-plugins= | 
|   23  |   23  | 
|   24  |   24  | 
|   25 [MESSAGES CONTROL] |   25 [MESSAGES CONTROL] | 
|   26  |   26  | 
|   27 # Enable the message, report, category or checker with the given id(s). You can |   27 # Enable the message, report, category or checker with the given id(s). You can | 
|   28 # either give multiple identifier separated by comma (,) or put this option |   28 # either give multiple identifier separated by comma (,) or put this option | 
|   29 # multiple time. |   29 # multiple time. | 
|   30 #enable= |   30 #enable= | 
|   31  |   31  | 
|   32 # Disable the message, report, category or checker with the given id(s). You |   32 # Disable the message, report, category or checker with the given id(s). You | 
|   33 # can either give multiple identifier separated by comma (,) or put this option |   33 # can either give multiple identifier separated by comma (,) or put this option | 
|   34 # multiple time. |   34 # multiple time (only on the command line, not in the configuration file where | 
 |   35 # it should appear only once). | 
 |   36 # CHANGED: | 
|   35 # C0103: Invalid name "" |   37 # C0103: Invalid name "" | 
|   36 # C0111: Missing docstring |   38 # C0111: Missing docstring | 
|   37 # C0302: Too many lines in module (N) |   39 # C0302: Too many lines in module (N) | 
|   38 # I0010: Unable to consider inline option '' |   40 # I0010: Unable to consider inline option '' | 
|   39 # I0011: Locally disabling WNNNN |   41 # I0011: Locally disabling WNNNN | 
|   40 # |   42 # | 
|   41 # It's a problem but not something we can fix right now. |  | 
|   42 # R0401: Cyclic import |  | 
|   43 # |  | 
|   44 # R0801: Similar lines in N files |   43 # R0801: Similar lines in N files | 
|   45 # R0901: Too many ancestors (8/7) |   44 # R0901: Too many ancestors (8/7) | 
|   46 # R0902: Too many instance attributes (N/7) |   45 # R0902: Too many instance attributes (N/7) | 
|   47 # R0903: Too few public methods (N/2) |   46 # R0903: Too few public methods (N/2) | 
|   48 # R0904: Too many public methods (N/20) |   47 # R0904: Too many public methods (N/20) | 
|   49 # R0911: Too many return statements (N/6) |   48 # R0911: Too many return statements (N/6) | 
|   50 # R0912: Too many branches (N/12) |   49 # R0912: Too many branches (N/12) | 
|   51 # R0913: Too many arguments (N/5) |   50 # R0913: Too many arguments (N/5) | 
|   52 # R0914: Too many local variables (N/15) |   51 # R0914: Too many local variables (N/15) | 
|   53 # R0915: Too many statements (N/50) |   52 # R0915: Too many statements (N/50) | 
|   54 # R0921: Abstract class not referenced |   53 # R0921: Abstract class not referenced | 
|   55 # R0922: Abstract class is only referenced 1 times |   54 # R0922: Abstract class is only referenced 1 times | 
|   56 # W0122: Use of the exec statement |   55 # W0122: Use of the exec statement | 
|   57 # W0141: Used builtin function '' |   56 # W0141: Used builtin function '' | 
|   58 # W0142: Used * or ** magic |   57 # W0142: Used * or ** magic | 
|   59 # W0402: Uses of a deprecated module 'string' |   58 # W0402: Uses of a deprecated module 'string' | 
|   60 # W0404: 41: Reimport 'XX' (imported line NN) |   59 # W0404: 41: Reimport 'XX' (imported line NN) | 
|   61 # W0511: TODO |   60 # W0511: TODO | 
|   62 # W0603: Using the global statement |   61 # W0603: Using the global statement | 
|   63 # W0613: Unused argument '' |  | 
|   64 # W0703: Catch "Exception" |   62 # W0703: Catch "Exception" | 
|   65 # W1201: Specify string format arguments as logging function parameters |   63 # W1201: Specify string format arguments as logging function parameters | 
|   66 disable=C0103,C0111,C0302,I0010,I0011,R0401,R0801,R0901,R0902,R0903,R0904,R0911,
     R0912,R0913,R0914,R0915,R0921,R0922,W0122,W0141,W0142,W0402,W0404,W0511,W0603,W0
     613,W0703,W1201 |   64 disable=C0103,C0111,C0302,I0010,I0011,R0801,R0901,R0902,R0903,R0904,R0911,R0912,
     R0913,R0914,R0915,R0921,R0922,W0122,W0141,W0142,W0402,W0404,W0511,W0603,W0703,W1
     201 | 
|   67  |   65  | 
|   68  |   66  | 
|   69 [REPORTS] |   67 [REPORTS] | 
|   70  |   68  | 
|   71 # Set the output format. Available formats are text, parseable, colorized, msvs |   69 # Set the output format. Available formats are text, parseable, colorized, msvs | 
|   72 # (visual studio) and html |   70 # (visual studio) and html | 
|   73 output-format=text |   71 output-format=text | 
|   74  |   72  | 
|   75 # Include message's id in output |   73 # Include message's id in output | 
|   76 include-ids=yes |   74 include-ids=yes | 
|   77  |   75  | 
|   78 # Put messages in a separate file for each module / package specified on the |   76 # Put messages in a separate file for each module / package specified on the | 
|   79 # command line instead of printing them on stdout. Reports (if any) will be |   77 # command line instead of printing them on stdout. Reports (if any) will be | 
|   80 # written in a file name "pylint_global.[txt|html]". |   78 # written in a file name "pylint_global.[txt|html]". | 
|   81 files-output=no |   79 files-output=no | 
|   82  |   80  | 
|   83 # Tells whether to display a full report or only the messages |   81 # Tells whether to display a full report or only the messages | 
|   84 # CHANGE: No report. |   82 # CHANGED: | 
|   85 reports=no |   83 reports=no | 
|   86  |   84  | 
|   87 # Python expression which should return a note less than 10 (10 is the highest |   85 # Python expression which should return a note less than 10 (10 is the highest | 
|   88 # note). You have access to the variables errors warning, statement which |   86 # note). You have access to the variables errors warning, statement which | 
|   89 # respectively contain the number of errors / warnings messages and the total |   87 # respectively contain the number of errors / warnings messages and the total | 
|   90 # number of statements analyzed. This is used by the global evaluation report |   88 # number of statements analyzed. This is used by the global evaluation report | 
|   91 # (R0004). |   89 # (RP0004). | 
|   92 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
     nt) * 10) |   90 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
     nt) * 10) | 
|   93  |   91  | 
|   94 # Add a comment according to your evaluation note. This is used by the global |   92 # Add a comment according to your evaluation note. This is used by the global | 
|   95 # evaluation report (R0004). |   93 # evaluation report (RP0004). | 
|   96 comment=no |   94 comment=no | 
|   97  |   95  | 
|   98  |   96  | 
|   99 [MISCELLANEOUS] |   97 [VARIABLES] | 
|  100  |   98  | 
|  101 # List of note tags to take in consideration, separated by a comma. |   99 # Tells whether we should check for unused import in __init__ files. | 
|  102 notes=FIXME,XXX,TODO |  100 init-import=no | 
|  103  |  101  | 
 |  102 # A regular expression matching the beginning of the name of dummy variables | 
 |  103 # (i.e. not used). | 
 |  104 dummy-variables-rgx=_|dummy | 
|  104  |  105  | 
|  105 [FORMAT] |  106 # List of additional names supposed to be defined in builtins. Remember that | 
|  106  |  107 # you should avoid to define new builtins when possible. | 
|  107 # Maximum number of characters on a single line. |  108 additional-builtins= | 
|  108 max-line-length=80 |  | 
|  109  |  | 
|  110 # Maximum number of lines in a module |  | 
|  111 max-module-lines=1000 |  | 
|  112  |  | 
|  113 # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 |  | 
|  114 # tab). |  | 
|  115 # CHANGE: Use "  " instead. |  | 
|  116 indent-string='  ' |  | 
|  117  |  109  | 
|  118  |  110  | 
|  119 [TYPECHECK] |  111 [TYPECHECK] | 
|  120  |  112  | 
|  121 # Tells whether missing members accessed in mixin class should be ignored. A |  113 # Tells whether missing members accessed in mixin class should be ignored. A | 
|  122 # mixin class is detected if its name ends with "mixin" (case insensitive). |  114 # mixin class is detected if its name ends with "mixin" (case insensitive). | 
|  123 ignore-mixin-members=yes |  115 ignore-mixin-members=yes | 
|  124  |  116  | 
|  125 # List of classes names for which member attributes should not be checked |  117 # List of classes names for which member attributes should not be checked | 
|  126 # (useful for classes with attributes dynamically set). |  118 # (useful for classes with attributes dynamically set). | 
|  127 ignored-classes=SQLObject |  119 ignored-classes=SQLObject,twisted.internet.reactor,hashlib | 
|  128  |  120  | 
|  129 # When zope mode is activated, add a predefined set of Zope acquired attributes |  121 # When zope mode is activated, add a predefined set of Zope acquired attributes | 
|  130 # to generated-members. |  122 # to generated-members. | 
|  131 zope=no |  123 zope=no | 
|  132  |  124  | 
|  133 # List of members which are set dynamically and missed by pylint inference |  125 # List of members which are set dynamically and missed by pylint inference | 
|  134 # system, and so shouldn't trigger E0201 when accessed. |  126 # system, and so shouldn't trigger E0201 when accessed. Python regular | 
 |  127 # expressions are accepted. | 
|  135 generated-members=REQUEST,acl_users,aq_parent |  128 generated-members=REQUEST,acl_users,aq_parent | 
|  136  |  129  | 
|  137  |  130  | 
 |  131 [MISCELLANEOUS] | 
 |  132  | 
 |  133 # List of note tags to take in consideration, separated by a comma. | 
 |  134 notes=FIXME,XXX,TODO | 
 |  135  | 
 |  136  | 
 |  137 [SIMILARITIES] | 
 |  138  | 
 |  139 # Minimum lines number of a similarity. | 
 |  140 min-similarity-lines=4 | 
 |  141  | 
 |  142 # Ignore comments when computing similarities. | 
 |  143 ignore-comments=yes | 
 |  144  | 
 |  145 # Ignore docstrings when computing similarities. | 
 |  146 ignore-docstrings=yes | 
 |  147  | 
 |  148  | 
 |  149 [FORMAT] | 
 |  150  | 
 |  151 # Maximum number of characters on a single line. | 
 |  152 max-line-length=80 | 
 |  153  | 
 |  154 # Maximum number of lines in a module | 
 |  155 max-module-lines=1000 | 
 |  156  | 
 |  157 # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 | 
 |  158 # tab). | 
 |  159 # CHANGED: | 
 |  160 indent-string='  ' | 
 |  161  | 
 |  162  | 
|  138 [BASIC] |  163 [BASIC] | 
|  139  |  164  | 
|  140 # Required attributes for module, separated by a comma |  165 # Required attributes for module, separated by a comma | 
|  141 required-attributes= |  166 required-attributes= | 
|  142  |  167  | 
|  143 # List of builtins function names that should not be used, separated by a comma |  168 # List of builtins function names that should not be used, separated by a comma | 
|  144 bad-functions=map,filter,apply,input |  169 bad-functions=map,filter,apply,input | 
|  145  |  170  | 
|  146 # Regular expression which should only match correct module names |  171 # Regular expression which should only match correct module names | 
|  147 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ |  172 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ | 
| (...skipping 27 matching lines...) Expand all  Loading... | 
|  175 good-names=i,j,k,ex,Run,_ |  200 good-names=i,j,k,ex,Run,_ | 
|  176  |  201  | 
|  177 # Bad variable names which should always be refused, separated by a comma |  202 # Bad variable names which should always be refused, separated by a comma | 
|  178 bad-names=foo,bar,baz,toto,tutu,tata |  203 bad-names=foo,bar,baz,toto,tutu,tata | 
|  179  |  204  | 
|  180 # Regular expression which should only match functions or classes name which do |  205 # Regular expression which should only match functions or classes name which do | 
|  181 # not require a docstring |  206 # not require a docstring | 
|  182 no-docstring-rgx=__.*__ |  207 no-docstring-rgx=__.*__ | 
|  183  |  208  | 
|  184  |  209  | 
|  185 [VARIABLES] |  | 
|  186  |  | 
|  187 # Tells whether we should check for unused import in __init__ files. |  | 
|  188 init-import=no |  | 
|  189  |  | 
|  190 # A regular expression matching names used for dummy variables (i.e. not used). |  | 
|  191 dummy-variables-rgx=_|dummy |  | 
|  192  |  | 
|  193 # List of additional names supposed to be defined in builtins. Remember that |  | 
|  194 # you should avoid to define new builtins when possible. |  | 
|  195 additional-builtins= |  | 
|  196  |  | 
|  197  |  | 
|  198 [SIMILARITIES] |  | 
|  199  |  | 
|  200 # Minimum lines number of a similarity. |  | 
|  201 min-similarity-lines=4 |  | 
|  202  |  | 
|  203 # Ignore comments when computing similarities. |  | 
|  204 ignore-comments=yes |  | 
|  205  |  | 
|  206 # Ignore docstrings when computing similarities. |  | 
|  207 ignore-docstrings=yes |  | 
|  208  |  | 
|  209  |  | 
|  210 [CLASSES] |  | 
|  211  |  | 
|  212 # List of interface methods to ignore, separated by a comma. This is used for |  | 
|  213 # instance to not check methods defines in Zope's Interface base class. |  | 
|  214 ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions
     ,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,ge
     tTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,a
     daptWith,is_implemented_by |  | 
|  215  |  | 
|  216 # List of method names used to declare (i.e. assign) instance attributes. |  | 
|  217 defining-attr-methods=__init__,__new__,setUp |  | 
|  218  |  | 
|  219  |  | 
|  220 [DESIGN] |  210 [DESIGN] | 
|  221  |  211  | 
|  222 # Maximum number of arguments for function / method |  212 # Maximum number of arguments for function / method | 
|  223 max-args=5 |  213 max-args=5 | 
|  224  |  214  | 
|  225 # Argument names that match this expression will be ignored. Default to name |  215 # Argument names that match this expression will be ignored. Default to name | 
|  226 # with leading underscore |  216 # with leading underscore | 
|  227 ignored-argument-names=_.* |  217 ignored-argument-names=_.* | 
|  228  |  218  | 
|  229 # Maximum number of locals for function / method body |  219 # Maximum number of locals for function / method body | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
|  244 # Maximum number of attributes for a class (see R0902). |  234 # Maximum number of attributes for a class (see R0902). | 
|  245 max-attributes=7 |  235 max-attributes=7 | 
|  246  |  236  | 
|  247 # Minimum number of public methods for a class (see R0903). |  237 # Minimum number of public methods for a class (see R0903). | 
|  248 min-public-methods=2 |  238 min-public-methods=2 | 
|  249  |  239  | 
|  250 # Maximum number of public methods for a class (see R0904). |  240 # Maximum number of public methods for a class (see R0904). | 
|  251 max-public-methods=20 |  241 max-public-methods=20 | 
|  252  |  242  | 
|  253  |  243  | 
 |  244 [CLASSES] | 
 |  245  | 
 |  246 # List of interface methods to ignore, separated by a comma. This is used for | 
 |  247 # instance to not check methods defines in Zope's Interface base class. | 
 |  248 ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions
     ,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,ge
     tTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,a
     daptWith,is_implemented_by | 
 |  249  | 
 |  250 # List of method names used to declare (i.e. assign) instance attributes. | 
 |  251 defining-attr-methods=__init__,__new__,setUp | 
 |  252  | 
 |  253 # List of valid names for the first argument in a class method. | 
 |  254 valid-classmethod-first-arg=cls | 
 |  255  | 
 |  256  | 
|  254 [IMPORTS] |  257 [IMPORTS] | 
|  255  |  258  | 
|  256 # Deprecated modules which should not be used, separated by a comma |  259 # Deprecated modules which should not be used, separated by a comma | 
|  257 deprecated-modules=regsub,string,TERMIOS,Bastion,rexec |  260 deprecated-modules=regsub,string,TERMIOS,Bastion,rexec | 
|  258  |  261  | 
|  259 # Create a graph of every (i.e. internal and external) dependencies in the |  262 # Create a graph of every (i.e. internal and external) dependencies in the | 
|  260 # given file (report R0402 must not be disabled) |  263 # given file (report RP0402 must not be disabled) | 
|  261 import-graph= |  264 import-graph= | 
|  262  |  265  | 
|  263 # Create a graph of external dependencies in the given file (report R0402 must |  266 # Create a graph of external dependencies in the given file (report RP0402 must | 
|  264 # not be disabled) |  267 # not be disabled) | 
|  265 ext-import-graph= |  268 ext-import-graph= | 
|  266  |  269  | 
|  267 # Create a graph of internal dependencies in the given file (report R0402 must |  270 # Create a graph of internal dependencies in the given file (report RP0402 must | 
|  268 # not be disabled) |  271 # not be disabled) | 
|  269 int-import-graph= |  272 int-import-graph= | 
 |  273  | 
 |  274  | 
 |  275 [EXCEPTIONS] | 
 |  276  | 
 |  277 # Exceptions that will emit a warning when being caught. Defaults to | 
 |  278 # "Exception" | 
 |  279 overgeneral-exceptions=Exception | 
| OLD | NEW |