Home | History | Annotate | Download | only in systrace
      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   abstract-class-not-used,
     10   bad-builtin,
     11   bad-continuation,
     12   eval-used,
     13   fixme,
     14   invalid-name,
     15   locally-disabled,
     16   missing-docstring,
     17   protected-access,
     18   star-args,
     19 
     20 
     21 [REPORTS]
     22 
     23 # Don't write out full reports, just messages.
     24 reports=no
     25 
     26 
     27 [BASIC]
     28 
     29 # Regular expression which should only match correct function names.
     30 function-rgx=^(?:(?P<exempt>setUp|tearDown|setUpModule|tearDownModule)|(?P<camel_case>_?[A-Z][a-zA-Z0-9]*))$
     31 
     32 # Regular expression which should only match correct method names.
     33 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_]*))$
     34 
     35 # Regular expression which should only match correct argument names.
     36 argument-rgx=^[a-z][a-z0-9_]*$
     37 
     38 # Regular expression which should only match correct variable names.
     39 variable-rgx=^[a-z][a-z0-9_]*$
     40 
     41 # Good variable names which should always be accepted, separated by a comma.
     42 good-names=main,_
     43 
     44 # List of builtins function names that should not be used, separated by a comma.
     45 bad-functions=apply,input,reduce
     46 
     47 
     48 [VARIABLES]
     49 
     50 # Tells wether we should check for unused import in __init__ files.
     51 init-import=no
     52 
     53 # A regular expression matching names used for dummy variables (i.e. not used).
     54 dummy-variables-rgx=^\*{0,2}(_$|unused_)
     55 
     56 
     57 [TYPECHECK]
     58 
     59 # Tells wether missing members accessed in mixin class should be ignored. A
     60 # mixin class is detected if its name ends with "mixin" (case insensitive).
     61 ignore-mixin-members=yes
     62 
     63 
     64 [FORMAT]
     65 
     66 # We use two spaces for indents, instead of the usual four spaces or tab.
     67 indent-string='  '
     68