From b034f8cf610d7c3d71fa536f2ec1669e7f2f3c7c Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 22 Sep 2020 09:35:17 -0700 Subject: pylint: Turn on warnings for incorrect number of args This catches some very real errors. The one in scalapack is pretty silly actually, it's failing to figure out that the exploded list is at least two arguments. However, the code is actually clearer by not using a list and exploding it, so I've done that and pylint is happy too. --- .pylintrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.pylintrc') diff --git a/.pylintrc b/.pylintrc index c79b83c..560968e 100644 --- a/.pylintrc +++ b/.pylintrc @@ -8,8 +8,13 @@ score=no disable=all enable= assert-on-tuple, + compare-to-zero, dangerous-default-value, deprecated-lambda, - compare-to-zero, len-as-condition, + missing-kwoa, + no-value-for-parameter, + redundant-keyword-arg, + too-many-function-args, + unexpected-keyword-arg, unreachable -- cgit v1.1