"Fossies" - the Fresh Open Source Software Archive

Member "freezer-10.0.0/.pylintrc" (14 Apr 2021, 10064 Bytes) of package /linux/misc/openstack/freezer-10.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for ".pylintrc": 9.0.0_vs_10.0.0.

    1 [MASTER]
    2 
    3 # Specify a configuration file.
    4 #rcfile=
    5 
    6 # Python code to execute, usually for sys.path manipulation such as
    7 # pygtk.require().
    8 #init-hook=
    9 
   10 # Profiled execution.
   11 profile=no
   12 
   13 # Add files or directories to the blacklist. They should be base names, not
   14 # paths.
   15 ignore=CVS
   16 
   17 # Pickle collected data for later comparisons.
   18 persistent=no
   19 
   20 # List of plugins (as comma separated values of python modules names) to load,
   21 # usually to register additional checkers.
   22 load-plugins=
   23 
   24 # DEPRECATED
   25 include-ids=no
   26 
   27 # DEPRECATED
   28 symbols=no
   29 
   30 
   31 [MESSAGES CONTROL]
   32 
   33 # Enable the message, report, category or checker with the given id(s). You can
   34 # either give multiple identifier separated by comma (,) or put this option
   35 # multiple time. See also the "--disable" option for examples.
   36 #enable=
   37 
   38 # Disable the message, report, category or checker with the given id(s). You
   39 # can either give multiple identifiers separated by comma (,) or put this
   40 # option multiple times (only on the command line, not in the configuration
   41 # file where it should appear only once).You can also use "--disable=all" to
   42 # disable everything first and then reenable specific checks. For example, if
   43 # you want to run only the similarities checker, you can use "--disable=all
   44 # --enable=similarities". If you want to run only the classes checker, but have
   45 # no Warning level messages displayed, use"--disable=all --enable=classes
   46 # --disable=W"
   47 disable=W,C,R,E1002,E1102,no-member,import-error,non-iterator-returned,assignment-from-no-return,assignment-from-none
   48 
   49 
   50 [REPORTS]
   51 
   52 # Set the output format. Available formats are text, parseable, colorized, msvs
   53 # (visual studio) and html. You can also give a reporter class, eg
   54 # mypackage.mymodule.MyReporterClass.
   55 output-format=text
   56 
   57 # Put messages in a separate file for each module / package specified on the
   58 # command line instead of printing them on stdout. Reports (if any) will be
   59 # written in a file name "pylint_global.[txt|html]".
   60 files-output=no
   61 
   62 # Tells whether to display a full report or only the messages
   63 reports=no
   64 
   65 # Python expression which should return a note less than 10 (10 is the highest
   66 # note). You have access to the variables errors warning, statement which
   67 # respectively contain the number of errors / warnings messages and the total
   68 # number of statements analyzed. This is used by the global evaluation report
   69 # (RP0004).
   70 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
   71 
   72 # Add a comment according to your evaluation note. This is used by the global
   73 # evaluation report (RP0004).
   74 comment=no
   75 
   76 # Template used to display messages. This is a python new-style format string
   77 # used to format the message information. See doc for all details
   78 #msg-template=
   79 
   80 
   81 [SIMILARITIES]
   82 
   83 # Minimum lines number of a similarity.
   84 min-similarity-lines=4
   85 
   86 # Ignore comments when computing similarities.
   87 ignore-comments=yes
   88 
   89 # Ignore docstrings when computing similarities.
   90 ignore-docstrings=yes
   91 
   92 # Ignore imports when computing similarities.
   93 ignore-imports=no
   94 
   95 
   96 [TYPECHECK]
   97 
   98 # Tells whether missing members accessed in mixin class should be ignored. A
   99 # mixin class is detected if its name ends with "mixin" (case insensitive).
  100 ignore-mixin-members=yes
  101 
  102 # List of module names for which member attributes should not be checked
  103 # (useful for modules/projects where namespaces are manipulated during runtime
  104 # and thus existing member attributes cannot be deduced by static analysis
  105 ignored-modules=distutils
  106 
  107 # List of classes names for which member attributes should not be checked
  108 # (useful for classes with attributes dynamically set).
  109 ignored-classes=SQLObject
  110 
  111 # When zope mode is activated, add a predefined set of Zope acquired attributes
  112 # to generated-members.
  113 zope=no
  114 
  115 # List of members which are set dynamically and missed by pylint inference
  116 # system, and so shouldn't trigger E0201 when accessed. Python regular
  117 # expressions are accepted.
  118 generated-members=REQUEST,acl_users,aq_parent,BackupJob.time_stamp,BackupJob.start_time
  119 
  120 
  121 [MISCELLANEOUS]
  122 
  123 # List of note tags to take in consideration, separated by a comma.
  124 notes=FIXME,XXX,TODO
  125 
  126 
  127 [BASIC]
  128 
  129 # Required attributes for module, separated by a comma
  130 required-attributes=
  131 
  132 # List of builtins function names that should not be used, separated by a comma
  133 bad-functions=map,filter,apply,input,file
  134 
  135 # Good variable names which should always be accepted, separated by a comma
  136 good-names=i,j,k,ex,Run,_
  137 
  138 # Bad variable names which should always be refused, separated by a comma
  139 bad-names=foo,bar,baz,toto,tutu,tata
  140 
  141 # Colon-delimited sets of names that determine each other's naming style when
  142 # the name regexes allow several styles.
  143 name-group=
  144 
  145 # Include a hint for the correct naming format with invalid-name
  146 include-naming-hint=no
  147 
  148 # Regular expression matching correct function names
  149 function-rgx=[a-z_][a-z0-9_]{2,30}$
  150 
  151 # Naming hint for function names
  152 function-name-hint=[a-z_][a-z0-9_]{2,30}$
  153 
  154 # Regular expression matching correct variable names
  155 variable-rgx=[a-z_][a-z0-9_]{2,30}$
  156 
  157 # Naming hint for variable names
  158 variable-name-hint=[a-z_][a-z0-9_]{2,30}$
  159 
  160 # Regular expression matching correct constant names
  161 const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
  162 
  163 # Naming hint for constant names
  164 const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$
  165 
  166 # Regular expression matching correct attribute names
  167 attr-rgx=[a-z_][a-z0-9_]{2,30}$
  168 
  169 # Naming hint for attribute names
  170 attr-name-hint=[a-z_][a-z0-9_]{2,30}$
  171 
  172 # Regular expression matching correct argument names
  173 argument-rgx=[a-z_][a-z0-9_]{2,30}$
  174 
  175 # Naming hint for argument names
  176 argument-name-hint=[a-z_][a-z0-9_]{2,30}$
  177 
  178 # Regular expression matching correct class attribute names
  179 class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
  180 
  181 # Naming hint for class attribute names
  182 class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
  183 
  184 # Regular expression matching correct inline iteration names
  185 inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
  186 
  187 # Naming hint for inline iteration names
  188 inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$
  189 
  190 # Regular expression matching correct class names
  191 class-rgx=[A-Z_][a-zA-Z0-9]+$
  192 
  193 # Naming hint for class names
  194 class-name-hint=[A-Z_][a-zA-Z0-9]+$
  195 
  196 # Regular expression matching correct module names
  197 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
  198 
  199 # Naming hint for module names
  200 module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
  201 
  202 # Regular expression matching correct method names
  203 method-rgx=[a-z_][a-z0-9_]{2,30}$
  204 
  205 # Naming hint for method names
  206 method-name-hint=[a-z_][a-z0-9_]{2,30}$
  207 
  208 # Regular expression which should only match function or class names that do
  209 # not require a docstring.
  210 no-docstring-rgx=__.*__
  211 
  212 # Minimum line length for functions/classes that require docstrings, shorter
  213 # ones are exempt.
  214 docstring-min-length=-1
  215 
  216 
  217 [VARIABLES]
  218 
  219 # Tells whether we should check for unused import in __init__ files.
  220 init-import=no
  221 
  222 # A regular expression matching the name of dummy variables (i.e. expectedly
  223 # not used).
  224 dummy-variables-rgx=_$|dummy
  225 
  226 # List of additional names supposed to be defined in builtins. Remember that
  227 # you should avoid to define new builtins when possible.
  228 additional-builtins=
  229 
  230 
  231 [LOGGING]
  232 
  233 # Logging modules to check that the string format arguments are in logging
  234 # function parameter format
  235 logging-modules=logging
  236 
  237 
  238 [FORMAT]
  239 
  240 # Maximum number of characters on a single line.
  241 max-line-length=80
  242 
  243 # Regexp for a line that is allowed to be longer than the limit.
  244 ignore-long-lines=^\s*(# )?<?https?://\S+>?$
  245 
  246 # Allow the body of an if to be on the same line as the test if there is no
  247 # else.
  248 single-line-if-stmt=no
  249 
  250 # List of optional constructs for which whitespace checking is disabled
  251 no-space-check=trailing-comma,dict-separator
  252 
  253 # Maximum number of lines in a module
  254 max-module-lines=1000
  255 
  256 # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
  257 # tab).
  258 indent-string='    '
  259 
  260 
  261 [DESIGN]
  262 
  263 # Maximum number of arguments for function / method
  264 max-args=5
  265 
  266 # Argument names that match this expression will be ignored. Default to name
  267 # with leading underscore
  268 ignored-argument-names=_.*
  269 
  270 # Maximum number of locals for function / method body
  271 max-locals=15
  272 
  273 # Maximum number of return / yield for function / method body
  274 max-returns=6
  275 
  276 # Maximum number of branch for function / method body
  277 max-branches=12
  278 
  279 # Maximum number of statements in function / method body
  280 max-statements=50
  281 
  282 # Maximum number of parents for a class (see R0901).
  283 max-parents=7
  284 
  285 # Maximum number of attributes for a class (see R0902).
  286 max-attributes=7
  287 
  288 # Minimum number of public methods for a class (see R0903).
  289 min-public-methods=2
  290 
  291 # Maximum number of public methods for a class (see R0904).
  292 max-public-methods=20
  293 
  294 
  295 [CLASSES]
  296 
  297 # List of interface methods to ignore, separated by a comma. This is used for
  298 # instance to not check methods defines in Zope's Interface base class.
  299 ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
  300 
  301 # List of method names used to declare (i.e. assign) instance attributes.
  302 defining-attr-methods=__init__,__new__,setUp
  303 
  304 # List of valid names for the first argument in a class method.
  305 valid-classmethod-first-arg=cls
  306 
  307 # List of valid names for the first argument in a metaclass class method.
  308 valid-metaclass-classmethod-first-arg=mcs
  309 
  310 
  311 [IMPORTS]
  312 
  313 # Deprecated modules which should not be used, separated by a comma
  314 deprecated-modules=regsub,TERMIOS,Bastion,rexec
  315 
  316 # Create a graph of every (i.e. internal and external) dependencies in the
  317 # given file (report RP0402 must not be disabled)
  318 import-graph=
  319 
  320 # Create a graph of external dependencies in the given file (report RP0402 must
  321 # not be disabled)
  322 ext-import-graph=
  323 
  324 # Create a graph of internal dependencies in the given file (report RP0402 must
  325 # not be disabled)
  326 int-import-graph=
  327 
  328 
  329 [EXCEPTIONS]
  330 
  331 # Exceptions that will emit a warning when being caught. Defaults to
  332 # "Exception"
  333 overgeneral-exceptions=Exception