Blame pylintrc

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