• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[MASTER]
2
3extension-pkg-whitelist=numpy
4
5
6[MESSAGES CONTROL]
7
8# Disable the message, report, category or checker with the given id(s).
9# TODO: Shrink this list to as small as possible.
10disable=
11  design,
12  similarities,
13
14  fixme,
15  locally-disabled,
16  locally-enabled,
17  missing-docstring,
18  no-self-use,
19  protected-access,
20  star-args,
21
22
23[REPORTS]
24
25# Don't write out full reports, just messages.
26reports=no
27
28
29[BASIC]
30
31# Regular expression which should only match correct function names.
32function-rgx=^(?:(?P<exempt>setUp|tearDown|setUpModule|tearDownModule)|(?P<camel_case>_?[A-Z][a-zA-Z0-9]*))$
33
34# Regular expression which should only match correct method names.
35method-rgx=^(?:(?P<exempt>_[a-z0-9_]+__|get|post|run|put|execute|runTest|setUp|tearDown|setUpTestCase|tearDownTestCase|setupSelf|tearDownClass|setUpClass)|(?P<camel_case>(_{0,2}|test|assert)[A-Z][a-zA-Z0-9_]*))$
36
37# Regular expression which should only match correct instance attribute names
38attr-rgx=^_{0,2}[a-z][a-z0-9_]*$
39
40# Regular expression which should only match correct argument names.
41argument-rgx=^[a-z][a-z0-9_]*$
42
43# Regular expression which should only match correct variable names.
44variable-rgx=^[a-z][a-z0-9_]*$
45
46# Good variable names which should always be accepted, separated by a comma.
47good-names=main,_
48
49# List of builtins function names that should not be used, separated by a comma.
50bad-functions=apply,input,reduce
51
52
53[VARIABLES]
54
55# Tells wether we should check for unused import in __init__ files.
56init-import=no
57
58# A regular expression matching names used for dummy variables (i.e. not used).
59dummy-variables-rgx=^\*{0,2}(_$|unused_)
60
61
62[TYPECHECK]
63
64# Tells wether missing members accessed in mixin class should be ignored. A
65# mixin class is detected if its name ends with "mixin" (case insensitive).
66ignore-mixin-members=yes
67
68
69[FORMAT]
70
71# We use two spaces for indents, instead of the usual four spaces or tab.
72indent-string='  '
73
74# Make sure : in dicts and trailing commas are checked for whitespace.
75no-space-check=
76