Yardsitck Gambia Release 7.2.0 release notes.
[yardstick.git] / .pylintrc
1 [MASTER]
2
3 # List of plugins (as comma separated values of python modules names) to load,
4 # usually to register additional checkers.
5 load-plugins=
6
7 # Use multiple processes to speed up Pylint.
8 jobs=1
9
10 # A comma-separated list of package or module names from where C extensions may
11 # be loaded. Extensions are loading into the active Python interpreter and may
12 # run arbitrary code
13 extension-pkg-whitelist=
14
15
16 [MESSAGES CONTROL]
17
18 # --disable=W"
19 disable=
20 # "F" Fatal errors that prevent further processing
21  import-error,
22 # "I" Informational noise
23  locally-disabled,
24 # "E" Error for important programming issues (likely bugs)
25  access-member-before-definition,
26  no-member,
27  no-method-argument,
28  no-self-argument,
29  not-an-iterable,
30 # "W" Warnings for stylistic problems or minor programming issues
31  abstract-method,
32  arguments-differ,
33  attribute-defined-outside-init,
34  bad-builtin,
35  bad-indentation,
36  dangerous-default-value,
37  deprecated-lambda,
38  expression-not-assigned,
39  fixme,
40  global-statement,
41  literal-comparison,
42  no-init,
43  non-parent-init-called,
44  not-callable,
45  protected-access,
46  redefined-builtin,
47  redefined-outer-name,
48  signature-differs,
49  star-args,
50  super-init-not-called,
51  super-on-old-class,
52  unpacking-non-sequence,
53  useless-super-delegation,
54  nonstandard-exception,
55 # "C" Coding convention violations
56  bad-continuation,
57  consider-iterating-dictionary,
58  consider-using-enumerate,
59  invalid-name,
60  len-as-condition,
61  misplaced-comparison-constant,
62  missing-docstring,
63  singleton-comparison,
64  superfluous-parens,
65  ungrouped-imports,
66  wrong-import-order,
67 # "R" Refactor recommendations
68  abstract-class-little-used,
69  abstract-class-not-used,
70  consider-merging-isinstance,
71  consider-using-ternary,
72  duplicate-code,
73  inconsistent-return-statements,
74  interface-not-implemented,
75  no-else-return,
76  no-self-use,
77  redefined-argument-from-local,
78  simplifiable-if-statement,
79  too-few-public-methods,
80  too-many-ancestors,
81  too-many-arguments,
82  too-many-branches,
83  too-many-instance-attributes,
84  too-many-lines,
85  too-many-locals,
86  too-many-nested-blocks,
87  too-many-public-methods,
88  too-many-return-statements,
89  too-many-statements
90
91 [BASIC]
92 # Variable names can be 1 to 31 characters long, with lowercase and underscores
93 variable-rgx=[a-z_][a-z0-9_]{0,30}$
94
95 # Argument names can be 2 to 31 characters long, with lowercase and underscores
96 argument-rgx=[a-z_][a-z0-9_]{1,30}$
97
98 # Method names should be at least 3 characters long
99 # and be lowercased with underscores
100 method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
101
102 # Module names matching neutron-* are ok (files in bin/)
103 module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
104
105 # Don't require docstrings on tests.
106 no-docstring-rgx=((__.*__)|([tT]est.*)|setUp|tearDown)$
107
108 dummy-variables-rgx=(_+[a-zA-Z0-9]*?$)|dummy|args
109
110 [FORMAT]
111 # Maximum number of characters on a single line.
112 max-line-length=99
113
114 # String used as indentation unit. This is usually "    " (4 spaces) or "\t" (1
115 # tab).
116 indent-string='    '
117
118
119 [VARIABLES]
120 # List of additional names supposed to be defined in builtins. Remember that
121 # you should avoid to define new builtins when possible.
122 # _ is used by our localization
123 additional-builtins=_
124
125
126 [CLASSES]
127 # List of interface methods to ignore, separated by a comma.
128 ignore-iface-methods=
129
130
131 [TYPECHECK]
132 # List of module names for which member attributes should not be checked
133 ignored-modules=six.moves,_MovedItems
134
135
136 [REPORTS]
137 # Tells whether to display a full report or only the messages
138 reports=no
139
140 # Set the output format. Available formats are text, parseable, colorized, msvs
141 # (visual studio) and html. You can also give a reporter class, eg
142 # mypackage.mymodule.MyReporterClass.
143 output-format=colorized
144
145 # Python expression which should return a note less than 10 (10 is the highest
146 # note). You have access to the variables errors warning, statement which
147 # respectively contain the number of errors / warnings messages and the total
148 # number of statements analyzed. This is used by the global evaluation report
149 # (RP0004).
150 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
151
152
153 [MISCELLANEOUS]
154
155 # List of note tags to take in consideration, separated by a comma.
156 notes=FIXME,XXX,TODO