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.
5disable=
6  design,
7  similarities,
8
9  fixme,
10  locally-disabled,
11  locally-enabled,
12  missing-docstring,
13  no-member,
14  no-self-use,
15  protected-access,
16  star-args,
17
18
19[REPORTS]
20
21# Don't write out full reports, just messages.
22reports=no
23
24
25[BASIC]
26
27# Regular expression which should only match correct function names.
28function-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.
31method-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.
34argument-rgx=^[a-z][a-z0-9_]*$
35
36# Regular expression which should only match correct variable names.
37variable-rgx=^[a-z][a-z0-9_]*$
38
39# Good variable names which should always be accepted, separated by a comma.
40good-names=main,_
41
42# List of builtins function names that should not be used, separated by a comma.
43bad-functions=apply,input,reduce
44
45
46[VARIABLES]
47
48# Tells wether we should check for unused import in __init__ files.
49init-import=no
50
51# A regular expression matching names used for dummy variables (i.e. not used).
52dummy-variables-rgx=^\*{0,2}(_$|unused_)
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).
59ignore-mixin-members=yes
60
61
62[FORMAT]
63
64# Maximum number of lines in a module.
65max-module-lines=2000
66
67# We use two spaces for indents, instead of the usual four spaces or tab.
68indent-string='  '
69