|
| 1 | +# Generated by pylint 1.5.5 |
| 2 | + |
| 3 | +[MASTER] |
| 4 | + |
| 5 | +# Specify a configuration file. |
| 6 | +#rcfile= |
| 7 | + |
| 8 | +# Python code to execute, usually for sys.path manipulation such as |
| 9 | +# pygtk.require(). |
| 10 | +#init-hook= |
| 11 | + |
| 12 | +# Add files or directories to the blacklist. They should be base names, not |
| 13 | +# paths. |
| 14 | +#ignore=CVS |
| 15 | +ignore=.git,.tox,.idea |
| 16 | + |
| 17 | +# Pickle collected data for later comparisons. |
| 18 | +#persistent=yes |
| 19 | +persistent=yes |
| 20 | + |
| 21 | +# List of plugins (as comma separated values of python modules names) to load, |
| 22 | +# usually to register additional checkers. |
| 23 | +#load-plugins= |
| 24 | + |
| 25 | +# Use multiple processes to speed up Pylint. |
| 26 | +#jobs=1 |
| 27 | + |
| 28 | +# Allow loading of arbitrary C extensions. Extensions are imported into the |
| 29 | +# active Python interpreter and may run arbitrary code. |
| 30 | +#unsafe-load-any-extension=no |
| 31 | + |
| 32 | +# A comma-separated list of package or module names from where C extensions may |
| 33 | +# be loaded. Extensions are loading into the active Python interpreter and may |
| 34 | +# run arbitrary code |
| 35 | +#extension-pkg-whitelist= |
| 36 | + |
| 37 | +# Allow optimization of some AST trees. This will activate a peephole AST |
| 38 | +# optimizer, which will apply various small optimizations. For instance, it can |
| 39 | +# be used to obtain the result of joining multiple strings with the addition |
| 40 | +# operator. Joining a lot of strings can lead to a maximum recursion error in |
| 41 | +# Pylint and this flag can prevent that. It has one side effect, the resulting |
| 42 | +# AST will be different than the one from reality. |
| 43 | +#optimize-ast=no |
| 44 | + |
| 45 | + |
| 46 | +[MESSAGES CONTROL] |
| 47 | + |
| 48 | +# Only show warnings with the listed confidence levels. Leave empty to show |
| 49 | +# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED |
| 50 | +#confidence= |
| 51 | + |
| 52 | +# Enable the message, report, category or checker with the given id(s). You can |
| 53 | +# either give multiple identifier separated by comma (,) or put this option |
| 54 | +# multiple time (only on the command line, not in the configuration file where |
| 55 | +# it should appear only once). See also the "--disable" option for examples. |
| 56 | +#enable= |
| 57 | + |
| 58 | +# Disable the message, report, category or checker with the given id(s). You |
| 59 | +# can either give multiple identifiers separated by comma (,) or put this |
| 60 | +# option multiple times (only on the command line, not in the configuration |
| 61 | +# file where it should appear only once).You can also use "--disable=all" to |
| 62 | +# disable everything first and then reenable specific checks. For example, if |
| 63 | +# you want to run only the similarities checker, you can use "--disable=all |
| 64 | +# --enable=similarities". If you want to run only the classes checker, but have |
| 65 | +# no Warning level messages displayed, use"--disable=all --enable=classes |
| 66 | +# --disable=W" |
| 67 | +#disable=backtick,parameter-unpacking,xrange-builtin,oct-method,getslice-method,unichr-builtin,unicode-builtin,raw_input-builtin,basestring-builtin,using-cmp-argument,old-raise-syntax,filter-builtin-not-iterating,metaclass-assignment,buffer-builtin,indexing-exception,raising-string,coerce-method,zip-builtin-not-iterating,apply-builtin,no-absolute-import,unpacking-in-except,next-method-called,dict-view-method,intern-builtin,input-builtin,suppressed-message,nonzero-method,long-builtin,hex-method,delslice-method,range-builtin-not-iterating,coerce-builtin,dict-iter-method,long-suffix,execfile-builtin,reload-builtin,standarderror-builtin,useless-suppression,old-division,import-star-module-level,cmp-builtin,round-builtin,print-statement,reduce-builtin,map-builtin-not-iterating,old-ne-operator,old-octal-literal,setslice-method,file-builtin,cmp-method |
| 68 | +disable=missing-docstring,superfluous-parens,wrong-import-order,global-statement |
| 69 | + |
| 70 | + |
| 71 | +[REPORTS] |
| 72 | + |
| 73 | +# Set the output format. Available formats are text, parseable, colorized, msvs |
| 74 | +# (visual studio) and html. You can also give a reporter class, eg |
| 75 | +# mypackage.mymodule.MyReporterClass. |
| 76 | +#output-format=text |
| 77 | +output-format=colorized |
| 78 | + |
| 79 | +# Put messages in a separate file for each module / package specified on the |
| 80 | +# command line instead of printing them on stdout. Reports (if any) will be |
| 81 | +# written in a file name "pylint_global.[txt|html]". |
| 82 | +#files-output=no |
| 83 | + |
| 84 | +# Tells whether to display a full report or only the messages |
| 85 | +#reports=yes |
| 86 | +reports=yes |
| 87 | + |
| 88 | +# Python expression which should return a note less than 10 (10 is the highest |
| 89 | +# note). You have access to the variables errors warning, statement which |
| 90 | +# respectively contain the number of errors / warnings messages and the total |
| 91 | +# number of statements analyzed. This is used by the global evaluation report |
| 92 | +# (RP0004). |
| 93 | +#evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) |
| 94 | + |
| 95 | +# Template used to display messages. This is a python new-style format string |
| 96 | +# used to format the message information. See doc for all details |
| 97 | +#msg-template= |
| 98 | + |
| 99 | + |
| 100 | +[BASIC] |
| 101 | + |
| 102 | +# List of builtins function names that should not be used, separated by a comma |
| 103 | +#bad-functions=map,filter |
| 104 | + |
| 105 | +# Good variable names which should always be accepted, separated by a comma |
| 106 | +#good-names=i,j,k,ex,Run,_ |
| 107 | +good-names=k,v,e,fd |
| 108 | + |
| 109 | +# Bad variable names which should always be refused, separated by a comma |
| 110 | +#bad-names=foo,bar,baz,toto,tutu,tata |
| 111 | + |
| 112 | +# Colon-delimited sets of names that determine each other's naming style when |
| 113 | +# the name regexes allow several styles. |
| 114 | +#name-group= |
| 115 | + |
| 116 | +# Include a hint for the correct naming format with invalid-name |
| 117 | +#include-naming-hint=no |
| 118 | + |
| 119 | +# Regular expression matching correct argument names |
| 120 | +#argument-rgx=[a-z_][a-z0-9_]{2,30}$ |
| 121 | + |
| 122 | +# Naming hint for argument names |
| 123 | +#argument-name-hint=[a-z_][a-z0-9_]{2,30}$ |
| 124 | + |
| 125 | +# Regular expression matching correct inline iteration names |
| 126 | +#inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ |
| 127 | + |
| 128 | +# Naming hint for inline iteration names |
| 129 | +#inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$ |
| 130 | + |
| 131 | +# Regular expression matching correct constant names |
| 132 | +#const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$ |
| 133 | + |
| 134 | +# Naming hint for constant names |
| 135 | +#const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$ |
| 136 | + |
| 137 | +# Regular expression matching correct module names |
| 138 | +#module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ |
| 139 | + |
| 140 | +# Naming hint for module names |
| 141 | +#module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ |
| 142 | + |
| 143 | +# Regular expression matching correct attribute names |
| 144 | +#attr-rgx=[a-z_][a-z0-9_]{2,30}$ |
| 145 | + |
| 146 | +# Naming hint for attribute names |
| 147 | +#attr-name-hint=[a-z_][a-z0-9_]{2,30}$ |
| 148 | + |
| 149 | +# Regular expression matching correct method names |
| 150 | +#method-rgx=[a-z_][a-z0-9_]{2,30}$ |
| 151 | +method-rgx=[a-z_][a-z0-9_]{2,70}$ |
| 152 | + |
| 153 | +# Naming hint for method names |
| 154 | +#method-name-hint=[a-z_][a-z0-9_]{2,30}$ |
| 155 | + |
| 156 | +# Regular expression matching correct class names |
| 157 | +#class-rgx=[A-Z_][a-zA-Z0-9]+$ |
| 158 | + |
| 159 | +# Naming hint for class names |
| 160 | +#class-name-hint=[A-Z_][a-zA-Z0-9]+$ |
| 161 | + |
| 162 | +# Regular expression matching correct variable names |
| 163 | +#variable-rgx=[a-z_][a-z0-9_]{2,30}$ |
| 164 | + |
| 165 | +# Naming hint for variable names |
| 166 | +#variable-name-hint=[a-z_][a-z0-9_]{2,30}$ |
| 167 | + |
| 168 | +# Regular expression matching correct function names |
| 169 | +#function-rgx=[a-z_][a-z0-9_]{2,30}$ |
| 170 | +function-rgx=[a-z_][a-z0-9_]{2,70}$ |
| 171 | + |
| 172 | +# Naming hint for function names |
| 173 | +#function-name-hint=[a-z_][a-z0-9_]{2,30}$ |
| 174 | + |
| 175 | +# Regular expression matching correct class attribute names |
| 176 | +#class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ |
| 177 | + |
| 178 | +# Naming hint for class attribute names |
| 179 | +#class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ |
| 180 | + |
| 181 | +# Regular expression which should only match function or class names that do |
| 182 | +# not require a docstring. |
| 183 | +#no-docstring-rgx=^_ |
| 184 | + |
| 185 | +# Minimum line length for functions/classes that require docstrings, shorter |
| 186 | +# ones are exempt. |
| 187 | +#docstring-min-length=-1 |
| 188 | + |
| 189 | + |
| 190 | +[ELIF] |
| 191 | + |
| 192 | +# Maximum number of nested blocks for function / method body |
| 193 | +#max-nested-blocks=5 |
| 194 | + |
| 195 | + |
| 196 | +[LOGGING] |
| 197 | + |
| 198 | +# Logging modules to check that the string format arguments are in logging |
| 199 | +# function parameter format |
| 200 | +#logging-modules=logging |
| 201 | + |
| 202 | + |
| 203 | +[MISCELLANEOUS] |
| 204 | + |
| 205 | +# List of note tags to take in consideration, separated by a comma. |
| 206 | +#notes=FIXME,XXX,TODO |
| 207 | + |
| 208 | + |
| 209 | +[SIMILARITIES] |
| 210 | + |
| 211 | +# Minimum lines number of a similarity. |
| 212 | +#min-similarity-lines=4 |
| 213 | + |
| 214 | +# Ignore comments when computing similarities. |
| 215 | +#ignore-comments=yes |
| 216 | + |
| 217 | +# Ignore docstrings when computing similarities. |
| 218 | +#ignore-docstrings=yes |
| 219 | + |
| 220 | +# Ignore imports when computing similarities. |
| 221 | +#ignore-imports=no |
| 222 | + |
| 223 | + |
| 224 | +[VARIABLES] |
| 225 | + |
| 226 | +# Tells whether we should check for unused import in __init__ files. |
| 227 | +#init-import=no |
| 228 | + |
| 229 | +# A regular expression matching the name of dummy variables (i.e. expectedly |
| 230 | +# not used). |
| 231 | +#dummy-variables-rgx=_$|dummy |
| 232 | + |
| 233 | +# List of additional names supposed to be defined in builtins. Remember that |
| 234 | +# you should avoid to define new builtins when possible. |
| 235 | +#additional-builtins= |
| 236 | + |
| 237 | +# List of strings which can identify a callback function by name. A callback |
| 238 | +# name must start or end with one of those strings. |
| 239 | +#callbacks=cb_,_cb |
| 240 | + |
| 241 | + |
| 242 | +[TYPECHECK] |
| 243 | + |
| 244 | +# Tells whether missing members accessed in mixin class should be ignored. A |
| 245 | +# mixin class is detected if its name ends with "mixin" (case insensitive). |
| 246 | +#ignore-mixin-members=yes |
| 247 | + |
| 248 | +# List of module names for which member attributes should not be checked |
| 249 | +# (useful for modules/projects where namespaces are manipulated during runtime |
| 250 | +# and thus existing member attributes cannot be deduced by static analysis. It |
| 251 | +# supports qualified module names, as well as Unix pattern matching. |
| 252 | +#ignored-modules= |
| 253 | + |
| 254 | +# List of classes names for which member attributes should not be checked |
| 255 | +# (useful for classes with attributes dynamically set). This supports can work |
| 256 | +# with qualified names. |
| 257 | +#ignored-classes= |
| 258 | +ignored-classes=pytest |
| 259 | + |
| 260 | +# List of members which are set dynamically and missed by pylint inference |
| 261 | +# system, and so shouldn't trigger E1101 when accessed. Python regular |
| 262 | +# expressions are accepted. |
| 263 | +#generated-members= |
| 264 | + |
| 265 | + |
| 266 | +[FORMAT] |
| 267 | + |
| 268 | +# Maximum number of characters on a single line. |
| 269 | +#max-line-length=100 |
| 270 | +max-line-length=120 |
| 271 | + |
| 272 | +# Regexp for a line that is allowed to be longer than the limit. |
| 273 | +#ignore-long-lines=^\s*(# )?<?https?://\S+>?$ |
| 274 | + |
| 275 | +# Allow the body of an if to be on the same line as the test if there is no |
| 276 | +# else. |
| 277 | +#single-line-if-stmt=no |
| 278 | + |
| 279 | +# List of optional constructs for which whitespace checking is disabled. `dict- |
| 280 | +# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. |
| 281 | +# `trailing-comma` allows a space between comma and closing bracket: (a, ). |
| 282 | +# `empty-line` allows space-only lines. |
| 283 | +#no-space-check=trailing-comma,dict-separator |
| 284 | + |
| 285 | +# Maximum number of lines in a module |
| 286 | +#max-module-lines=1000 |
| 287 | + |
| 288 | +# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 |
| 289 | +# tab). |
| 290 | +#indent-string=' ' |
| 291 | + |
| 292 | +# Number of spaces of indent required inside a hanging or continued line. |
| 293 | +#indent-after-paren=4 |
| 294 | + |
| 295 | +# Expected format of line ending, e.g. empty (any line ending), LF or CRLF. |
| 296 | +#expected-line-ending-format= |
| 297 | + |
| 298 | + |
| 299 | +[SPELLING] |
| 300 | + |
| 301 | +# Spelling dictionary name. Available dictionaries: none. To make it working |
| 302 | +# install python-enchant package. |
| 303 | +#spelling-dict= |
| 304 | + |
| 305 | +# List of comma separated words that should not be checked. |
| 306 | +#spelling-ignore-words= |
| 307 | + |
| 308 | +# A path to a file that contains private dictionary; one word per line. |
| 309 | +#spelling-private-dict-file= |
| 310 | + |
| 311 | +# Tells whether to store unknown words to indicated private dictionary in |
| 312 | +# --spelling-private-dict-file option instead of raising a message. |
| 313 | +#spelling-store-unknown-words=no |
| 314 | + |
| 315 | + |
| 316 | +[CLASSES] |
| 317 | + |
| 318 | +# List of method names used to declare (i.e. assign) instance attributes. |
| 319 | +#defining-attr-methods=__init__,__new__,setUp |
| 320 | + |
| 321 | +# List of valid names for the first argument in a class method. |
| 322 | +#valid-classmethod-first-arg=cls |
| 323 | + |
| 324 | +# List of valid names for the first argument in a metaclass class method. |
| 325 | +#valid-metaclass-classmethod-first-arg=mcs |
| 326 | + |
| 327 | +# List of member names, which should be excluded from the protected access |
| 328 | +# warning. |
| 329 | +#exclude-protected=_asdict,_fields,_replace,_source,_make |
| 330 | + |
| 331 | + |
| 332 | +[DESIGN] |
| 333 | + |
| 334 | +# Maximum number of arguments for function / method |
| 335 | +#max-args=5 |
| 336 | + |
| 337 | +# Argument names that match this expression will be ignored. Default to name |
| 338 | +# with leading underscore |
| 339 | +#ignored-argument-names=_.* |
| 340 | + |
| 341 | +# Maximum number of locals for function / method body |
| 342 | +#max-locals=15 |
| 343 | + |
| 344 | +# Maximum number of return / yield for function / method body |
| 345 | +#max-returns=6 |
| 346 | + |
| 347 | +# Maximum number of branch for function / method body |
| 348 | +#max-branches=12 |
| 349 | + |
| 350 | +# Maximum number of statements in function / method body |
| 351 | +#max-statements=50 |
| 352 | + |
| 353 | +# Maximum number of parents for a class (see R0901). |
| 354 | +#max-parents=7 |
| 355 | + |
| 356 | +# Maximum number of attributes for a class (see R0902). |
| 357 | +#max-attributes=7 |
| 358 | + |
| 359 | +# Minimum number of public methods for a class (see R0903). |
| 360 | +#min-public-methods=2 |
| 361 | +min-public-methods=1 |
| 362 | + |
| 363 | +# Maximum number of public methods for a class (see R0904). |
| 364 | +#max-public-methods=20 |
| 365 | + |
| 366 | +# Maximum number of boolean expressions in a if statement |
| 367 | +#max-bool-expr=5 |
| 368 | + |
| 369 | + |
| 370 | +[IMPORTS] |
| 371 | + |
| 372 | +# Deprecated modules which should not be used, separated by a comma |
| 373 | +#deprecated-modules=optparse |
| 374 | + |
| 375 | +# Create a graph of every (i.e. internal and external) dependencies in the |
| 376 | +# given file (report RP0402 must not be disabled) |
| 377 | +#import-graph= |
| 378 | + |
| 379 | +# Create a graph of external dependencies in the given file (report RP0402 must |
| 380 | +# not be disabled) |
| 381 | +#ext-import-graph= |
| 382 | + |
| 383 | +# Create a graph of internal dependencies in the given file (report RP0402 must |
| 384 | +# not be disabled) |
| 385 | +#int-import-graph= |
| 386 | + |
| 387 | + |
| 388 | +[EXCEPTIONS] |
| 389 | + |
| 390 | +# Exceptions that will emit a warning when being caught. Defaults to |
| 391 | +# "Exception" |
| 392 | +#overgeneral-exceptions=Exception |
0 commit comments