Home | History | Annotate | Download | only in devil
      1 [MESSAGES CONTROL]
      2 
      3 # Disable the message, report, category or checker with the given id(s).
      4 # TODO: Shrink this list to as small as possible.
      5 disable=
      6   design,
      7   similarities,
      8 
      9   bad-continuation,
     10   fixme,
     11   import-error,
     12   invalid-name,
     13   locally-disabled,
     14   locally-enabled,
     15   missing-docstring,
     16   star-args,
     17 
     18 
     19 [REPORTS]
     20 
     21 # Don't write out full reports, just messages.
     22 reports=no
     23 
     24 
     25 [BASIC]
     26 
     27 # Regular expression which should only match correct function names.
     28 function-rgx=^(?:(?P<exempt>setUp|tearDown|setUpModule|tearDownModule)|(?P<camel_case>_?[A-Z][a-zA-Z0-9]*))$
     29 
     30 # Regular expression which should only match correct method names.
     31 method-rgx=^(?:(?P<exempt>_[a-z0-9_]+__|get|post|runTest|setUp|tearDown|setUpTestCase|tearDownTestCase|setupSelf|tearDownClass|setUpClass)|(?P<camel_case>(_{0,2}|test|assert)[A-Z][a-zA-Z0-9_]*))$
     32 
     33 # Regular expression which should only match correct argument names.
     34 argument-rgx=^[a-z][a-z0-9_]*$
     35 
     36 # Regular expression which should only match correct variable names.
     37 variable-rgx=^[a-z][a-z0-9_]*$
     38 
     39 # Good variable names which should always be accepted, separated by a comma.
     40 good-names=main,_
     41 
     42 # List of builtins function names that should not be used, separated by a comma.
     43 bad-functions=apply,input,reduce
     44 
     45 
     46 [VARIABLES]
     47 
     48 # Tells wether we should check for unused import in __init__ files.
     49 init-import=no
     50 
     51 # A regular expression matching names used for dummy variables (i.e. not used).
     52 dummy-variables-rgx=^_.*$|dummy
     53 
     54 
     55 [TYPECHECK]
     56 
     57 # Tells wether missing members accessed in mixin class should be ignored. A
     58 # mixin class is detected if its name ends with "mixin" (case insensitive).
     59 ignore-mixin-members=yes
     60 
     61 
     62 [FORMAT]
     63 
     64 # Maximum number of lines in a module.
     65 max-module-lines=10000
     66 
     67 # We use two spaces for indents, instead of the usual four spaces or tab.
     68 indent-string='  '
     69