From 669d320bc64e41f879c047a39a66b8ec99bf4b1e Mon Sep 17 00:00:00 2001 From: Miroslav Los Date: Wed, 14 Aug 2019 17:29:33 +0200 Subject: DO_NOT_MERGE CSIT-1194 - Framework easy pylint improvements - force a python2 environment in tox for pylint - let pylint load some compiled modules for member checking - allow locally enabled pylint rules - ignore bad enum names - ignore complexity for code to be refactored by other tickets - broad excepts are acceptable sometimes Signed-off-by: Miroslav Los Change-Id: If4c3a1b85e8609f074e1de8ce91fc9c4fedbeb38 --- pylint.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pylint.cfg') diff --git a/pylint.cfg b/pylint.cfg index 82c19ae5f9..69668ed79c 100644 --- a/pylint.cfg +++ b/pylint.cfg @@ -21,6 +21,10 @@ persistent=yes # usually to register additional checkers. load-plugins= +# A comma-separated list of package or module names from where C extensions may +# be loaded. Extensions are loading into the active Python interpreter and may +# run arbitrary code +extension-pkg-whitelist=numpy, scipy [MESSAGES CONTROL] @@ -38,7 +42,7 @@ load-plugins= # --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=redefined-variable-type, locally-disabled +disable=redefined-variable-type, locally-disabled, locally-enabled [REPORTS] -- cgit 1.2.3-korg