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