| # Config file for checking the functional tests with pylint | |
| # | |
| # SPDX-License-Identifier: GPL-2.0-or-later | |
| [DESIGN] | |
| # Maximum number of arguments for function / method. | |
| max-args=9 | |
| # Maximum number of attributes for a class (see R0902). | |
| max-attributes=7 | |
| # Maximum number of boolean expressions in an if statement (see R0916). | |
| max-bool-expr=5 | |
| # Maximum number of branch for function / method body. | |
| max-branches=12 | |
| # Maximum number of locals for function / method body. | |
| max-locals=15 | |
| # Maximum number of parents for a class (see R0901). | |
| max-parents=7 | |
| # Maximum number of positional arguments for function / method. | |
| max-positional-arguments=7 | |
| # Maximum number of public methods for a class (see R0904). | |
| max-public-methods=20 | |
| # Maximum number of return / yield for function / method body. | |
| max-returns=6 | |
| # Maximum number of statements in function / method body. | |
| max-statements=50 | |
| # Minimum number of public methods for a class (see R0903). | |
| min-public-methods=2 | |
| [MESSAGES CONTROL] | |
| # Only show warnings with the listed confidence levels. Leave empty to show | |
| # all. Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE, | |
| # UNDEFINED. | |
| confidence=HIGH, | |
| CONTROL_FLOW, | |
| INFERENCE, | |
| INFERENCE_FAILURE | |
| # Disable the message, report, category or checker with the given id(s). You | |
| # can either give multiple identifiers separated by comma (,) or put this | |
| # option multiple times (only on the command line, not in the configuration | |
| # file where it should appear only once). You can also use "--disable=all" to | |
| # disable everything first and then re-enable specific checks. For example, if | |
| # you want to run only the similarities checker, you can use "--disable=all | |
| # --enable=similarities". If you want to run only the classes checker, but have | |
| # no Warning level messages displayed, use "--disable=all --enable=classes | |
| # --disable=W". | |
| disable=bad-inline-option, | |
| consider-using-f-string, | |
| file-ignored, | |
| fixme, | |
| import-outside-toplevel, | |
| locally-disabled, | |
| logging-fstring-interpolation, | |
| logging-not-lazy, | |
| missing-function-docstring, | |
| missing-module-docstring, | |
| missing-class-docstring, | |
| raw-checker-failed, | |
| suppressed-message, | |
| too-many-locals, | |
| too-many-statements, | |
| use-implicit-booleaness-not-comparison-to-string, | |
| use-implicit-booleaness-not-comparison-to-zero, | |
| use-symbolic-message-instead, | |
| useless-suppression, | |
| [SIMILARITIES] | |
| # Minimum lines number of a similarity. | |
| min-similarity-lines=20 |