1 # Copyright © 2021 Orange
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
17 # Specify a score threshold to be exceeded before program exits with error.
21 # Disable the message, report, category or checker with the given id(s). You
22 # can either give multiple identifiers separated by comma (,) or put this
23 # option multiple times (only on the command line, not in the configuration
24 # file where it should appear only once). You can also use "--disable=all" to
25 # disable everything first and then reenable specific checks. For example, if
26 # you want to run only the similarities checker, you can use "--disable=all
27 # --enable=similarities". If you want to run only the classes checker, but have
28 # no Warning level messages displayed, use "--disable=all --enable=classes
30 disable=raw-checker-failed,
37 use-symbolic-message-instead,
42 # Set the output format. Available formats are text, parseable, colorized, json
43 # and msvs (visual studio). You can also give a reporter class, e.g.
44 # mypackage.mymodule.MyReporterClass.
45 output-format=colorized
47 # Tells whether to display a full report or only the messages.
50 # Activate the evaluation score.
54 # Maximum number of characters on a single line.
59 # Regular expression matching correct method names. Overrides method-naming-
61 method-rgx="(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$"
63 # Regular expression matching correct variable names. Overrides variable-
65 variable-rgx="[a-zA-Z_][a-zA-Z0-9_]{1,30}$"