|
Packit |
6bd9ab |
[MASTER]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Profiled execution.
|
|
Packit |
6bd9ab |
profile=no
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Pickle collected data for later comparisons.
|
|
Packit |
6bd9ab |
persistent=no
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[MESSAGES CONTROL]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Enable the message, report, category or checker with the given id(s). You can
|
|
Packit |
6bd9ab |
# either give multiple identifier separated by comma (,) or put this option
|
|
Packit |
6bd9ab |
# multiple time.
|
|
Packit |
6bd9ab |
enable=
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Disable the message, report, category or checker with the given id(s). You
|
|
Packit |
6bd9ab |
# can either give multiple identifier separated by comma (,) or put this option
|
|
Packit |
6bd9ab |
# multiple time (only on the command line, not in the configuration file where
|
|
Packit |
6bd9ab |
# it should appear only once).
|
|
Packit |
6bd9ab |
disable=E1101
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[REPORTS]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Set the output format. Available formats are text, parseable, colorized, msvs
|
|
Packit |
6bd9ab |
# (visual studio) and html
|
|
Packit |
6bd9ab |
output-format=colorized
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Include message's id in output
|
|
Packit |
6bd9ab |
include-ids=yes
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Put messages in a separate file for each module / package specified on the
|
|
Packit |
6bd9ab |
# command line instead of printing them on stdout. Reports (if any) will be
|
|
Packit |
6bd9ab |
# written in a file name "pylint_global.[txt|html]".
|
|
Packit |
6bd9ab |
files-output=no
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Tells whether to display a full report or only the messages
|
|
Packit |
6bd9ab |
reports=no
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Python expression which should return a note less than 10 (10 is the highest
|
|
Packit |
6bd9ab |
# note). You have access to the variables errors warning, statement which
|
|
Packit |
6bd9ab |
# respectively contain the number of errors / warnings messages and the total
|
|
Packit |
6bd9ab |
# number of statements analyzed. This is used by the global evaluation report
|
|
Packit |
6bd9ab |
# (RP0004).
|
|
Packit |
6bd9ab |
evaluation=0
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Add a comment according to your evaluation note. This is used by the global
|
|
Packit |
6bd9ab |
# evaluation report (RP0004).
|
|
Packit |
6bd9ab |
comment=no
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[VARIABLES]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Tells whether we should check for unused import in __init__ files.
|
|
Packit |
6bd9ab |
init-import=no
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# A regular expression matching the beginning of the name of dummy variables
|
|
Packit |
6bd9ab |
# (i.e. not used).
|
|
Packit |
6bd9ab |
dummy-variables-rgx=_|dummy
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# List of additional names supposed to be defined in builtins. Remember that
|
|
Packit |
6bd9ab |
# you should avoid to define new builtins when possible.
|
|
Packit |
6bd9ab |
additional-builtins=
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[TYPECHECK]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Tells whether missing members accessed in mixin class should be ignored. A
|
|
Packit |
6bd9ab |
# mixin class is detected if its name ends with "mixin" (case insensitive).
|
|
Packit |
6bd9ab |
ignore-mixin-members=yes
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# List of classes names for which member attributes should not be checked
|
|
Packit |
6bd9ab |
# (useful for classes with attributes dynamically set).
|
|
Packit |
6bd9ab |
ignored-classes=SQLObject
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# When zope mode is activated, add a predefined set of Zope acquired attributes
|
|
Packit |
6bd9ab |
# to generated-members.
|
|
Packit |
6bd9ab |
zope=no
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# List of members which are set dynamically and missed by pylint inference
|
|
Packit |
6bd9ab |
# system, and so shouldn't trigger E0201 when accessed. Python regular
|
|
Packit |
6bd9ab |
# expressions are accepted.
|
|
Packit |
6bd9ab |
generated-members=REQUEST,acl_users,aq_parent,
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[SIMILARITIES]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Minimum lines number of a similarity.
|
|
Packit |
6bd9ab |
min-similarity-lines=6
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Ignore comments when computing similarities.
|
|
Packit |
6bd9ab |
ignore-comments=yes
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Ignore docstrings when computing similarities.
|
|
Packit |
6bd9ab |
ignore-docstrings=yes
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[MISCELLANEOUS]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# List of note tags to take in consideration, separated by a comma.
|
|
Packit |
6bd9ab |
notes=FIXME,XXX,TODO
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[FORMAT]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of characters on a single line.
|
|
Packit |
6bd9ab |
max-line-length=110
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of lines in a module
|
|
Packit |
6bd9ab |
max-module-lines=1000
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
|
|
Packit |
6bd9ab |
# tab).
|
|
Packit |
6bd9ab |
indent-string=' '
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[BASIC]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Required attributes for module, separated by a comma
|
|
Packit |
6bd9ab |
required-attributes=
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# List of builtins function names that should not be used, separated by a comma
|
|
Packit |
6bd9ab |
bad-functions=map,filter,apply,input
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match correct module names
|
|
Packit |
6bd9ab |
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match correct module level names
|
|
Packit |
6bd9ab |
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match correct class names
|
|
Packit |
6bd9ab |
class-rgx=[A-Z_][a-zA-Z0-9]+$
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match correct function names
|
|
Packit |
6bd9ab |
function-rgx=[a-z_][a-z0-9_]{2,30}$
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match correct method names
|
|
Packit |
6bd9ab |
method-rgx=[a-z_][a-z0-9_]{1,30}$
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match correct instance attribute names
|
|
Packit |
6bd9ab |
attr-rgx=[a-z_][a-z0-9_]{2,30}$
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match correct argument names
|
|
Packit |
6bd9ab |
argument-rgx=[a-z_][a-z0-9_]{1,30}$
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match correct variable names
|
|
Packit |
6bd9ab |
variable-rgx=[a-z_][a-z0-9_]{0,30}$
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match correct list comprehension /
|
|
Packit |
6bd9ab |
# generator expression variable names
|
|
Packit |
6bd9ab |
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Good variable names which should always be accepted, separated by a comma
|
|
Packit |
6bd9ab |
good-names=i,j,k,ex,Run,_
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Bad variable names which should always be refused, separated by a comma
|
|
Packit |
6bd9ab |
bad-names=foo,bar,baz,toto,tutu,tata
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Regular expression which should only match functions or classes name which do
|
|
Packit |
6bd9ab |
# not require a docstring
|
|
Packit |
6bd9ab |
no-docstring-rgx=__.*__
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[DESIGN]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of arguments for function / method
|
|
Packit |
6bd9ab |
max-args=5
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Argument names that match this expression will be ignored. Default to name
|
|
Packit |
6bd9ab |
# with leading underscore
|
|
Packit |
6bd9ab |
ignored-argument-names=_.*
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of locals for function / method body
|
|
Packit |
6bd9ab |
max-locals=15
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of return / yield for function / method body
|
|
Packit |
6bd9ab |
max-returns=6
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of branch for function / method body
|
|
Packit |
6bd9ab |
max-branchs=12
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of statements in function / method body
|
|
Packit |
6bd9ab |
max-statements=50
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of parents for a class (see R0901).
|
|
Packit |
6bd9ab |
max-parents=7
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of attributes for a class (see R0902).
|
|
Packit |
6bd9ab |
max-attributes=7
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Minimum number of public methods for a class (see R0903).
|
|
Packit |
6bd9ab |
min-public-methods=1
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Maximum number of public methods for a class (see R0904).
|
|
Packit |
6bd9ab |
max-public-methods=20
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[IMPORTS]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Deprecated modules which should not be used, separated by a comma
|
|
Packit |
6bd9ab |
deprecated-modules=regsub,string,TERMIOS,Bastion,rexec
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Create a graph of every (i.e. internal and external) dependencies in the
|
|
Packit |
6bd9ab |
# given file (report RP0402 must not be disabled)
|
|
Packit |
6bd9ab |
import-graph=
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Create a graph of external dependencies in the given file (report RP0402 must
|
|
Packit |
6bd9ab |
# not be disabled)
|
|
Packit |
6bd9ab |
ext-import-graph=
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Create a graph of internal dependencies in the given file (report RP0402 must
|
|
Packit |
6bd9ab |
# not be disabled)
|
|
Packit |
6bd9ab |
int-import-graph=
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[CLASSES]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# List of interface methods to ignore, separated by a comma. This is used for
|
|
Packit |
6bd9ab |
# instance to not check methods defines in Zope's Interface base class.
|
|
Packit |
6bd9ab |
ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# List of method names used to declare (i.e. assign) instance attributes.
|
|
Packit |
6bd9ab |
defining-attr-methods=__init__,__new__,setUp
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# List of valid names for the first argument in a class method.
|
|
Packit |
6bd9ab |
valid-classmethod-first-arg=cls
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
[EXCEPTIONS]
|
|
Packit |
6bd9ab |
|
|
Packit |
6bd9ab |
# Exceptions that will emit a warning when being caught. Defaults to
|
|
Packit |
6bd9ab |
# "Exception"
|
|
Packit |
6bd9ab |
overgeneral-exceptions=Exception
|