diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-04-16 12:11:35 +0200 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2013-04-16 12:11:35 +0200 |
commit | cbae7f3f2d1d8064594189355596fa4589318062 (patch) | |
tree | d28e8bd187cbdfa5a84b3e78d483e1ce3edcf260 /examples | |
parent | 5cc60cb1a3449b5015ef0275000722a45d697f5a (diff) | |
download | pylint-git-cbae7f3f2d1d8064594189355596fa4589318062.tar.gz |
regenerate generated documentation
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pylintrc | 119 |
1 files changed, 72 insertions, 47 deletions
diff --git a/examples/pylintrc b/examples/pylintrc index 046e133b0..5284fab53 100644 --- a/examples/pylintrc +++ b/examples/pylintrc @@ -10,8 +10,8 @@ # Profiled execution. profile=no -# Add <file or directory> to the black list. It should be a base name, not a -# path. You may set this option multiple times. +# Add files or directories to the blacklist. They should be base names, not +# paths. ignore=CVS # Pickle collected data for later comparisons. @@ -26,25 +26,34 @@ load-plugins= # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option -# multiple time. +# multiple time. See also the "--disable" option for examples. #enable= # Disable the message, report, category or checker with the given id(s). You -# can either give multiple identifier separated by comma (,) or put this option -# multiple time (only on the command line, not in the configuration file where -# it should appear only once). +# can either give multiple identifiers separated by comma (,) or put this +# option multiple times (only on the command line, not in the configuration +# file where it should appear only once).You can also use "--disable=all" to +# disable everything first and then reenable specific checks. For example, if +# you want to run only the similarities checker, you can use "--disable=all +# --enable=similarities". If you want to run only the classes checker, but have +# no Warning level messages displayed, use"--disable=all --enable=classes +# --disable=W" #disable= [REPORTS] # Set the output format. Available formats are text, parseable, colorized, msvs -# (visual studio) and html +# (visual studio) and html. You can also give a reporter class, eg +# mypackage.mymodule.MyReporterClass. output-format=text # Include message's id in output include-ids=no +# Include symbolic ids of messages in output +symbols=no + # Put messages in a separate file for each module / package specified on the # command line instead of printing them on stdout. Reports (if any) will be # written in a file name "pylint_global.[txt|html]". @@ -78,46 +87,6 @@ max-module-lines=1000 indent-string=' ' -[MISCELLANEOUS] - -# List of note tags to take in consideration, separated by a comma. -notes=FIXME,XXX,TODO - - -[VARIABLES] - -# Tells whether we should check for unused import in __init__ files. -init-import=no - -# A regular expression matching the beginning of the name of dummy variables -# (i.e. not used). -dummy-variables-rgx=_|dummy - -# List of additional names supposed to be defined in builtins. Remember that -# you should avoid to define new builtins when possible. -additional-builtins= - - -[TYPECHECK] - -# Tells whether missing members accessed in mixin class should be ignored. A -# mixin class is detected if its name ends with "mixin" (case insensitive). -ignore-mixin-members=yes - -# List of classes names for which member attributes should not be checked -# (useful for classes with attributes dynamically set). -ignored-classes=SQLObject - -# When zope mode is activated, add a predefined set of Zope acquired attributes -# to generated-members. -zope=no - -# List of members which are set dynamically and missed by pylint inference -# system, and so shouldn't trigger E0201 when accessed. Note that regular -# expressions are accepted (surrounded by quote `"` and followed by a comma `,`) -generated-members=REQUEST,acl_users,aq_parent,"[a-zA-Z]+_set{1,2}", - - [BASIC] # Required attributes for module, separated by a comma @@ -176,6 +145,49 @@ ignore-comments=yes # Ignore docstrings when computing similarities. ignore-docstrings=yes +# Ignore imports when computing similarities. +ignore-imports=no + + +[MISCELLANEOUS] + +# List of note tags to take in consideration, separated by a comma. +notes=FIXME,XXX,TODO + + +[TYPECHECK] + +# Tells whether missing members accessed in mixin class should be ignored. A +# mixin class is detected if its name ends with "mixin" (case insensitive). +ignore-mixin-members=yes + +# List of classes names for which member attributes should not be checked +# (useful for classes with attributes dynamically set). +ignored-classes=SQLObject + +# When zope mode is activated, add a predefined set of Zope acquired attributes +# to generated-members. +zope=no + +# List of members which are set dynamically and missed by pylint inference +# system, and so shouldn't trigger E0201 when accessed. Python regular +# expressions are accepted. +generated-members=REQUEST,acl_users,aq_parent + + +[VARIABLES] + +# Tells whether we should check for unused import in __init__ files. +init-import=no + +# A regular expression matching the beginning of the name of dummy variables +# (i.e. not used). +dummy-variables-rgx=_|dummy + +# List of additional names supposed to be defined in builtins. Remember that +# you should avoid to define new builtins when possible. +additional-builtins= + [IMPORTS] @@ -237,3 +249,16 @@ ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions # List of method names used to declare (i.e. assign) instance attributes. defining-attr-methods=__init__,__new__,setUp + +# List of valid names for the first argument in a class method. +valid-classmethod-first-arg=cls + +# List of valid names for the first argument in a metaclass class method. +valid-metaclass-classmethod-first-arg=mcs + + +[EXCEPTIONS] + +# Exceptions that will emit a warning when being caught. Defaults to +# "Exception" +overgeneral-exceptions=Exception |