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