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