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 global-statement, 11 import-error, 12 locally-disabled, 13 locally-enabled, 14 missing-docstring, 15 no-init, 16 no-member, 17 no-name-in-module, 18 no-self-use, 19 protected-access, 20 star-args, 21 super-on-old-class, 22 23 24[REPORTS] 25 26# Don't write out full reports, just messages. 27reports=no 28 29 30[BASIC] 31 32# Regular expression which should only match correct function names. 33function-rgx=^(?:(?P<exempt>setUp|tearDown|setUpModule|tearDownModule)|(?P<camel_case>_?[A-Z][a-zA-Z0-9]*))$ 34 35# Regular expression which should only match correct method names. 36method-rgx=^(?:(?P<exempt>_[a-z0-9_]+__|get|post|run|put|execute|_pre_put_hook|_post_put_hook|_post_get_hook|_pre_delete_hook|runTest|setUp|tearDown|setUpTestCase|tearDownTestCase|setupSelf|tearDownClass|setUpClass)|(?P<camel_case>(_{0,2}|test|assert)[A-Z][a-zA-Z0-9_]*))$ 37 38# Regular expression which should only match correct argument names. 39argument-rgx=^[a-z][a-z0-9_]*$ 40 41# Regular expression which should only match correct variable names. 42variable-rgx=^[a-z][a-z0-9_]*$ 43 44# Good variable names which should always be accepted, separated by a comma. 45good-names=main,_ 46 47# List of builtins function names that should not be used, separated by a comma. 48bad-functions=apply,input,reduce 49 50 51[VARIABLES] 52 53# Tells whether we should check for unused import in __init__ files. 54init-import=no 55 56# A regular expression matching names used for dummy variables (i.e. not used). 57dummy-variables-rgx=^\*{0,2}(_$|unused_) 58 59 60[TYPECHECK] 61 62# Tells whether missing members accessed in mixin class should be ignored. A 63# mixin class is detected if its name ends with "mixin" (case insensitive). 64ignore-mixin-members=yes 65 66 67[FORMAT] 68 69# We use two spaces for indents, instead of the usual four spaces or tab. 70indent-string=' ' 71