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. 5 disable= 6 design, 7 similarities, 8 9 fixme, 10 import-error, 11 locally-disabled, 12 locally-enabled, 13 missing-docstring, 14 no-self-use, 15 protected-access, 16 star-args, 17 18 19 [REPORTS] 20 21 # Don't write out full reports, just messages. 22 reports=no 23 24 25 [BASIC] 26 27 # Regular expression which should only match correct function names. 28 function-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. 31 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_]*))$ 32 33 # Regular expression which should only match correct instance attribute names 34 attr-rgx=^_{0,2}[a-z][a-z0-9_]*$ 35 36 # Regular expression which should only match correct argument names. 37 argument-rgx=^[a-z][a-z0-9_]*$ 38 39 # Regular expression which should only match correct variable names. 40 variable-rgx=^[a-z][a-z0-9_]*$ 41 42 # Good variable names which should always be accepted, separated by a comma. 43 good-names=main,_ 44 45 # List of builtins function names that should not be used, separated by a comma. 46 bad-functions=apply,input,reduce 47 48 49 [VARIABLES] 50 51 # Tells wether we should check for unused import in __init__ files. 52 init-import=no 53 54 # A regular expression matching names used for dummy variables (i.e. not used). 55 dummy-variables-rgx=^\*{0,2}(_$|unused_) 56 57 58 [TYPECHECK] 59 60 # Tells wether missing members accessed in mixin class should be ignored. A 61 # mixin class is detected if its name ends with "mixin" (case insensitive). 62 ignore-mixin-members=yes 63 64 65 [FORMAT] 66 67 # We use two spaces for indents, instead of the usual four spaces or tab. 68 indent-string=' ' 69 70 # Make sure : in dicts and trailing commas are checked for whitespace. 71 no-space-check= 72