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