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