andrej@1827: [MASTER]
andrej@1827: 
andrej@1827: # Specify a configuration file.
andrej@1827: #rcfile=
andrej@1827: 
andrej@1827: # Python code to execute, usually for sys.path manipulation such as
andrej@1827: # pygtk.require().
andrej@1827: #init-hook=
andrej@1827: 
andrej@1827: # Add files or directories to the blacklist. They should be base names, not
andrej@1827: # paths.
andrej@1827: ignore=CVS
andrej@1827: 
andrej@1827: # Add files or directories matching the regex patterns to the blacklist. The
andrej@1827: # regex matches against base names, not paths.
andrej@1827: ignore-patterns=
andrej@1827: 
andrej@1827: # Pickle collected data for later comparisons.
andrej@1827: persistent=yes
andrej@1827: 
andrej@1827: # List of plugins (as comma separated values of python modules names) to load,
andrej@1827: # usually to register additional checkers.
andrej@1827: load-plugins=
andrej@1827: 
andrej@1827: # Use multiple processes to speed up Pylint.
andrej@1827: jobs=1
andrej@1827: 
andrej@1827: # Allow loading of arbitrary C extensions. Extensions are imported into the
andrej@1827: # active Python interpreter and may run arbitrary code.
andrej@1827: unsafe-load-any-extension=no
andrej@1827: 
andrej@1827: # A comma-separated list of package or module names from where C extensions may
andrej@1827: # be loaded. Extensions are loading into the active Python interpreter and may
andrej@1827: # run arbitrary code
andrej@1827: extension-pkg-whitelist=
andrej@1827: 
andrej@1827: # Allow optimization of some AST trees. This will activate a peephole AST
andrej@1827: # optimizer, which will apply various small optimizations. For instance, it can
andrej@1827: # be used to obtain the result of joining multiple strings with the addition
andrej@1827: # operator. Joining a lot of strings can lead to a maximum recursion error in
andrej@1827: # Pylint and this flag can prevent that. It has one side effect, the resulting
andrej@1827: # AST will be different than the one from reality. This option is deprecated
andrej@1827: # and it will be removed in Pylint 2.0.
andrej@1827: optimize-ast=no
andrej@1827: 
andrej@1827: 
andrej@1827: [MESSAGES CONTROL]
andrej@1827: 
andrej@1827: # Only show warnings with the listed confidence levels. Leave empty to show
andrej@1827: # all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
andrej@1827: confidence=
andrej@1827: 
andrej@1827: # Disable the message, report, category or checker with the given id(s). You
andrej@1827: # can either give multiple identifiers separated by comma (,) or put this
andrej@1827: # option multiple times (only on the command line, not in the configuration
andrej@1827: # file where it should appear only once).You can also use "--disable=all" to
andrej@1827: # disable everything first and then reenable specific checks. For example, if
andrej@1827: # you want to run only the similarities checker, you can use "--disable=all
andrej@1827: # --enable=similarities". If you want to run only the classes checker, but have
andrej@1827: # no Warning level messages displayed, use"--disable=all --enable=classes
andrej@1827: # --disable=W"
andrej@1827: # disable=all
andrej@1827: # disable=import-star-module-level,old-octal-literal,oct-method,print-statement,unpacking-in-except,parameter-unpacking,backtick,old-raise-syntax,old-ne-operator,long-suffix,dict-view-method,dict-iter-method,metaclass-assignment,next-method-called,raising-string,indexing-exception,raw_input-builtin,long-builtin,file-builtin,execfile-builtin,coerce-builtin,cmp-builtin,buffer-builtin,basestring-builtin,apply-builtin,too-many-lines,filter-builtin-not-iterating,line-too-long,using-cmp-argument,useless-suppression,bad-whitespace,missing-docstring,range-builtin-not-iterating,suppressed-message,invalid-name,no-absolute-import,old-division,cmp-method,reload-builtin,zip-builtin-not-iterating,intern-builtin,unichr-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,xrange-builtin,coerce-method,delslice-method,getslice-method,setslice-method,input-builtin,round-builtin,fixme,broad-except,hex-method,nonzero-method,map-builtin-not-iterating
andrej@1827: 
andrej@1827: 
andrej@1827: # Enable the message, report, category or checker with the given id(s). You can
andrej@1827: # either give multiple identifier separated by comma (,) or put this option
andrej@1827: # multiple time (only on the command line, not in the configuration file where
andrej@1827: # it should appear only once). See also the "--disable" option for examples.
andrej@1827: # enable=W0611
andrej@1827: 
andrej@1827: 
andrej@1827: 
andrej@1827: [REPORTS]
andrej@1827: 
andrej@1827: # Set the output format. Available formats are text, parseable, colorized, msvs
andrej@1827: # (visual studio) and html. You can also give a reporter class, eg
andrej@1827: # mypackage.mymodule.MyReporterClass.
andrej@1827: output-format=parseable
andrej@1827: 
andrej@1827: # Put messages in a separate file for each module / package specified on the
andrej@1827: # command line instead of printing them on stdout. Reports (if any) will be
andrej@1827: # written in a file name "pylint_global.[txt|html]". This option is deprecated
andrej@1827: # and it will be removed in Pylint 2.0.
andrej@1827: files-output=no
andrej@1827: 
andrej@1827: # Tells whether to display a full report or only the messages
andrej@1827: reports=no
andrej@1827: 
andrej@1827: # Python expression which should return a note less than 10 (10 is the highest
andrej@1827: # note). You have access to the variables errors warning, statement which
andrej@1827: # respectively contain the number of errors / warnings messages and the total
andrej@1827: # number of statements analyzed. This is used by the global evaluation report
andrej@1827: # (RP0004).
andrej@1827: evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
andrej@1827: 
andrej@1827: # Template used to display messages. This is a python new-style format string
andrej@1827: # used to format the message information. See doc for all details
andrej@1827: #msg-template=
andrej@1827: 
andrej@1827: 
andrej@1827: [VARIABLES]
andrej@1827: 
andrej@1827: # Tells whether we should check for unused import in __init__ files.
andrej@1827: init-import=no
andrej@1827: 
andrej@1827: # A regular expression matching the name of dummy variables (i.e. expectedly
andrej@1827: # not used).
andrej@1847: dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy
andrej@1827: 
andrej@1827: # List of additional names supposed to be defined in builtins. Remember that
andrej@1827: # you should avoid to define new builtins when possible.
andrej@2404: additional-builtins=_,website,JS,cobalt,PLCBinary
andrej@1827: 
andrej@1827: # List of strings which can identify a callback function by name. A callback
andrej@1827: # name must start or end with one of those strings.
andrej@1827: callbacks=cb_,_cb
andrej@1827: 
andrej@1827: # List of qualified module names which can have objects that can redefine
andrej@1827: # builtins.
andrej@1827: redefining-builtins-modules=six.moves,future.builtins
andrej@1827: 
andrej@1827: 
andrej@1827: [SPELLING]
andrej@1827: 
andrej@1827: # Spelling dictionary name. Available dictionaries: none. To make it working
andrej@1827: # install python-enchant package.
andrej@1827: spelling-dict=
andrej@1827: 
andrej@1827: # List of comma separated words that should not be checked.
andrej@1827: spelling-ignore-words=
andrej@1827: 
andrej@1827: # A path to a file that contains private dictionary; one word per line.
andrej@1827: spelling-private-dict-file=
andrej@1827: 
andrej@1827: # Tells whether to store unknown words to indicated private dictionary in
andrej@1827: # --spelling-private-dict-file option instead of raising a message.
andrej@1827: spelling-store-unknown-words=no
andrej@1827: 
andrej@1827: 
andrej@1827: [SIMILARITIES]
andrej@1827: 
andrej@1827: # Minimum lines number of a similarity.
andrej@1827: min-similarity-lines=4
andrej@1827: 
andrej@1827: # Ignore comments when computing similarities.
andrej@1827: ignore-comments=yes
andrej@1827: 
andrej@1827: # Ignore docstrings when computing similarities.
andrej@1827: ignore-docstrings=yes
andrej@1827: 
andrej@1827: # Ignore imports when computing similarities.
andrej@1827: ignore-imports=no
andrej@1827: 
andrej@1827: 
andrej@1827: [MISCELLANEOUS]
andrej@1827: 
andrej@1827: # List of note tags to take in consideration, separated by a comma.
andrej@1827: notes=FIXME,XXX,TODO
andrej@1827: 
andrej@1827: 
andrej@1827: [BASIC]
andrej@1827: 
andrej@1827: # Good variable names which should always be accepted, separated by a comma
andrej@1827: good-names=i,j,k,ex,Run,_
andrej@1827: 
andrej@1827: # Bad variable names which should always be refused, separated by a comma
andrej@1827: bad-names=foo,bar,baz,toto,tutu,tata
andrej@1827: 
andrej@1827: # Colon-delimited sets of names that determine each other's naming style when
andrej@1827: # the name regexes allow several styles.
andrej@1827: name-group=
andrej@1827: 
andrej@1827: # Include a hint for the correct naming format with invalid-name
andrej@1827: include-naming-hint=no
andrej@1827: 
andrej@1827: # List of decorators that produce properties, such as abc.abstractproperty. Add
andrej@1827: # to this list to register other decorators that produce valid properties.
andrej@1827: property-classes=abc.abstractproperty
andrej@1827: 
andrej@1827: # Regular expression matching correct function names
andrej@1827: function-rgx=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Naming hint for function names
andrej@1827: function-name-hint=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Regular expression matching correct variable names
andrej@1827: variable-rgx=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Naming hint for variable names
andrej@1827: variable-name-hint=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Regular expression matching correct constant names
andrej@1827: const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
andrej@1827: 
andrej@1827: # Naming hint for constant names
andrej@1827: const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
andrej@1827: 
andrej@1827: # Regular expression matching correct attribute names
andrej@1827: attr-rgx=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Naming hint for attribute names
andrej@1827: attr-name-hint=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Regular expression matching correct argument names
andrej@1827: argument-rgx=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Naming hint for argument names
andrej@1827: argument-name-hint=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Regular expression matching correct class attribute names
andrej@1827: class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
andrej@1827: 
andrej@1827: # Naming hint for class attribute names
andrej@1827: class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
andrej@1827: 
andrej@1827: # Regular expression matching correct inline iteration names
andrej@1827: inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
andrej@1827: 
andrej@1827: # Naming hint for inline iteration names
andrej@1827: inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
andrej@1827: 
andrej@1827: # Regular expression matching correct class names
andrej@1827: class-rgx=[A-Z_][a-zA-Z0-9]+$
andrej@1827: 
andrej@1827: # Naming hint for class names
andrej@1827: class-name-hint=[A-Z_][a-zA-Z0-9]+$
andrej@1827: 
andrej@1827: # Regular expression matching correct module names
andrej@1827: module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
andrej@1827: 
andrej@1827: # Naming hint for module names
andrej@1827: module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
andrej@1827: 
andrej@1827: # Regular expression matching correct method names
andrej@1827: method-rgx=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Naming hint for method names
andrej@1827: method-name-hint=[a-z_][a-z0-9_]{2,30}$
andrej@1827: 
andrej@1827: # Regular expression which should only match function or class names that do
andrej@1827: # not require a docstring.
andrej@1827: no-docstring-rgx=^_
andrej@1827: 
andrej@1827: # Minimum line length for functions/classes that require docstrings, shorter
andrej@1827: # ones are exempt.
andrej@1827: docstring-min-length=-1
andrej@1827: 
andrej@1827: 
andrej@1827: [ELIF]
andrej@1827: 
andrej@1827: # Maximum number of nested blocks for function / method body
andrej@1827: max-nested-blocks=5
andrej@1827: 
andrej@1827: 
andrej@1827: [LOGGING]
andrej@1827: 
andrej@1827: # Logging modules to check that the string format arguments are in logging
andrej@1827: # function parameter format
andrej@1827: logging-modules=logging
andrej@1827: 
andrej@1827: 
andrej@1827: [TYPECHECK]
andrej@1827: 
andrej@1827: # Tells whether missing members accessed in mixin class should be ignored. A
andrej@1827: # mixin class is detected if its name ends with "mixin" (case insensitive).
andrej@1827: ignore-mixin-members=yes
andrej@1827: 
andrej@1827: # List of module names for which member attributes should not be checked
andrej@1827: # (useful for modules/projects where namespaces are manipulated during runtime
andrej@1827: # and thus existing member attributes cannot be deduced by static analysis. It
andrej@1827: # supports qualified module names, as well as Unix pattern matching.
andrej@2402: ignored-modules=_ctypes,_winreg,winreg,django.core.serializers,__pyjamas__,gluon.contrib.simplejson,MotionLibrary
andrej@1827: 
andrej@1827: # List of class names for which member attributes should not be checked (useful
andrej@1827: # for classes with dynamically set attributes). This supports the use of
andrej@1827: # qualified names.
andrej@1827: ignored-classes=optparse.Values,thread._local,_thread._local
andrej@1827: 
andrej@1827: # List of members which are set dynamically and missed by pylint inference
andrej@1827: # system, and so shouldn't trigger E1101 when accessed. Python regular
andrej@1827: # expressions are accepted.
andrej@1827: generated-members=
andrej@1827: 
andrej@1827: # List of decorators that produce context managers, such as
andrej@1827: # contextlib.contextmanager. Add to this list to register other decorators that
andrej@1827: # produce valid context managers.
andrej@1827: contextmanager-decorators=contextlib.contextmanager
andrej@1827: 
andrej@1827: 
andrej@1827: [FORMAT]
andrej@1827: 
andrej@1827: # Maximum number of characters on a single line.
andrej@1827: max-line-length=100
andrej@1827: 
andrej@1827: # Regexp for a line that is allowed to be longer than the limit.
andrej@1827: ignore-long-lines=^\s*(# )?<?https?://\S+>?$
andrej@1827: 
andrej@1827: # Allow the body of an if to be on the same line as the test if there is no
andrej@1827: # else.
andrej@1827: single-line-if-stmt=no
andrej@1827: 
andrej@1827: # List of optional constructs for which whitespace checking is disabled. `dict-
andrej@1827: # separator` is used to allow tabulation in dicts, etc.: {1  : 1,\n222: 2}.
andrej@1827: # `trailing-comma` allows a space between comma and closing bracket: (a, ).
andrej@1827: # `empty-line` allows space-only lines.
andrej@1827: no-space-check=trailing-comma,dict-separator
andrej@1827: 
andrej@1827: # Maximum number of lines in a module
andrej@1827: max-module-lines=1000
andrej@1827: 
andrej@1827: # String used as indentation unit. This is usually "    " (4 spaces) or "\t" (1
andrej@1827: # tab).
andrej@1827: indent-string='    '
andrej@1827: 
andrej@1827: # Number of spaces of indent required inside a hanging  or continued line.
andrej@1827: indent-after-paren=4
andrej@1827: 
andrej@1827: # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
andrej@1877: expected-line-ending-format=LF
andrej@1827: 
andrej@1827: 
andrej@1827: [IMPORTS]
andrej@1827: 
andrej@1827: # Deprecated modules which should not be used, separated by a comma
andrej@1827: deprecated-modules=regsub,TERMIOS,Bastion,rexec
andrej@1827: 
andrej@1827: # Create a graph of every (i.e. internal and external) dependencies in the
andrej@1827: # given file (report RP0402 must not be disabled)
andrej@1827: import-graph=
andrej@1827: 
andrej@1827: # Create a graph of external dependencies in the given file (report RP0402 must
andrej@1827: # not be disabled)
andrej@1827: ext-import-graph=
andrej@1827: 
andrej@1827: # Create a graph of internal dependencies in the given file (report RP0402 must
andrej@1827: # not be disabled)
andrej@1827: int-import-graph=
andrej@1827: 
andrej@1827: # Force import order to recognize a module as part of the standard
andrej@1827: # compatibility libraries.
andrej@1827: known-standard-library=
andrej@1827: 
andrej@1827: # Force import order to recognize a module as part of a third party library.
andrej@1827: known-third-party=enchant
andrej@1827: 
andrej@1827: # Analyse import fallback blocks. This can be used to support both Python 2 and
andrej@1827: # 3 compatible code, which means that the block might have code that exists
andrej@1827: # only in one or another interpreter, leading to false positives when analysed.
andrej@1827: analyse-fallback-blocks=no
andrej@1827: 
andrej@1827: 
andrej@1827: [CLASSES]
andrej@1827: 
andrej@1827: # List of method names used to declare (i.e. assign) instance attributes.
andrej@1827: defining-attr-methods=__init__,__new__,setUp
andrej@1827: 
andrej@1827: # List of valid names for the first argument in a class method.
andrej@1827: valid-classmethod-first-arg=cls
andrej@1827: 
andrej@1827: # List of valid names for the first argument in a metaclass class method.
andrej@1827: valid-metaclass-classmethod-first-arg=mcs
andrej@1827: 
andrej@1827: # List of member names, which should be excluded from the protected access
andrej@1827: # warning.
andrej@1827: exclude-protected=_asdict,_fields,_replace,_source,_make
andrej@1827: 
andrej@1827: 
andrej@1827: [DESIGN]
andrej@1827: 
andrej@1827: # Maximum number of arguments for function / method
andrej@1827: max-args=5
andrej@1827: 
andrej@1827: # Argument names that match this expression will be ignored. Default to name
andrej@1827: # with leading underscore
andrej@1827: ignored-argument-names=_.*
andrej@1827: 
andrej@1827: # Maximum number of locals for function / method body
andrej@1827: max-locals=15
andrej@1827: 
andrej@1827: # Maximum number of return / yield for function / method body
andrej@1827: max-returns=6
andrej@1827: 
andrej@1827: # Maximum number of branch for function / method body
andrej@1827: max-branches=12
andrej@1827: 
andrej@1827: # Maximum number of statements in function / method body
andrej@1827: max-statements=50
andrej@1827: 
andrej@1827: # Maximum number of parents for a class (see R0901).
andrej@1827: max-parents=7
andrej@1827: 
andrej@1827: # Maximum number of attributes for a class (see R0902).
andrej@1827: max-attributes=7
andrej@1827: 
andrej@1827: # Minimum number of public methods for a class (see R0903).
andrej@1827: min-public-methods=2
andrej@1827: 
andrej@1827: # Maximum number of public methods for a class (see R0904).
andrej@1827: max-public-methods=20
andrej@1827: 
andrej@1827: # Maximum number of boolean expressions in a if statement
andrej@1827: max-bool-expr=5
andrej@1827: 
andrej@1827: 
andrej@1827: [EXCEPTIONS]
andrej@1827: 
andrej@1827: # Exceptions that will emit a warning when being caught. Defaults to
andrej@1827: # "Exception"
andrej@1827: overgeneral-exceptions=Exception