From 0f3387865ff331b01f298a90ec6691712a27c04f Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sun, 28 Nov 2021 21:03:01 +0100 Subject: [PATCH] pylint: enable syntax-error This could be useful to catch issues early, and only the py2raise module has errors now, so ignore it. Signed-off-by: Johannes Berg Reviewed-by: Rob Browning Tested-by: Rob Browning --- .pylintrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pylintrc b/.pylintrc index f9e3dfb..c7b5933 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,8 +1,11 @@ # -*-conf-*- +[GENERAL OPTIONS] +ignore=py2raise.py [MESSAGES CONTROL] disable=all enable= + syntax-error, catching-non-exception, consider-using-in, inconsistent-return-statements, -- 2.39.2