comparison mx/.pylintrc @ 11525:75a7d4b79b29

added pylint command
author Doug Simon <doug.simon@oracle.com>
date Wed, 04 Sep 2013 14:54:48 +0200
parents dc3c8df55905
children
comparison
equal deleted inserted replaced
11524:dede53632f3e 11525:75a7d4b79b29
13 # Add files or directories to the blacklist. They should be base names, not 13 # Add files or directories to the blacklist. They should be base names, not
14 # paths. 14 # paths.
15 ignore=CVS 15 ignore=CVS
16 16
17 # Pickle collected data for later comparisons. 17 # Pickle collected data for later comparisons.
18 persistent=yes 18 persistent=no
19 19
20 # List of plugins (as comma separated values of python modules names) to load, 20 # List of plugins (as comma separated values of python modules names) to load,
21 # usually to register additional checkers. 21 # usually to register additional checkers.
22 load-plugins= 22 load-plugins=
23 23
39 # no Warning level messages displayed, use"--disable=all --enable=classes 39 # no Warning level messages displayed, use"--disable=all --enable=classes
40 # --disable=W" 40 # --disable=W"
41 disable=attribute-defined-outside-init,arguments-differ, 41 disable=attribute-defined-outside-init,arguments-differ,
42 bare-except,global-statement,protected-access,redefined-outer-name, 42 bare-except,global-statement,protected-access,redefined-outer-name,
43 unused-argument,star-args,pointless-string-statement,old-style-class, 43 unused-argument,star-args,pointless-string-statement,old-style-class,
44 too-many-lines,missing-docstring,no-init 44 too-many-lines,missing-docstring,no-init,no-self-use,too-many-statements,
45 too-many-locals,too-few-public-methods,too-many-instance-attributes,
46 too-many-arguments,too-many-branches,too-many-public-methods,
47 abstract-method
45 48
46 [REPORTS] 49 [REPORTS]
47 50
48 # Set the output format. Available formats are text, parseable, colorized, msvs 51 # Set the output format. Available formats are text, parseable, colorized, msvs
49 # (visual studio) and html. You can also give a reporter class, eg 52 # (visual studio) and html. You can also give a reporter class, eg
90 93
91 # Regular expression which should only match correct class names 94 # Regular expression which should only match correct class names
92 class-rgx=[A-Z_][a-zA-Z0-9]+$ 95 class-rgx=[A-Z_][a-zA-Z0-9]+$
93 96
94 # Regular expression which should only match correct function names 97 # Regular expression which should only match correct function names
95 function-rgx=[a-z_][a-zA-Z0-9_]{1,30}$ 98 function-rgx=[a-z_][a-zA-Z0-9_]{1,40}$
96 99
97 # Regular expression which should only match correct method names 100 # Regular expression which should only match correct method names
98 method-rgx=[a-z_][a-zA-Z0-9_]{2,30}$ 101 method-rgx=[a-z_][a-zA-Z0-9_]{2,40}$
99 102
100 # Regular expression which should only match correct instance attribute names 103 # Regular expression which should only match correct instance attribute names
101 attr-rgx=[a-z_][a-zA-Z0-9_]{1,30}$ 104 attr-rgx=[a-z_][a-zA-Z0-9_]{1,30}$
102 105
103 # Regular expression which should only match correct argument names 106 # Regular expression which should only match correct argument names