From 17ae76efebf11ab0179160ed944ca4b85cfffa04 Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Thu, 30 Jan 2025 15:00:07 +0500 Subject: [PATCH] fix: enable pointless-exception-statement --- pylintrc | 3 +-- pylintrc_tweaks | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pylintrc b/pylintrc index df6f2924ff6..b3b429755f4 100644 --- a/pylintrc +++ b/pylintrc @@ -322,7 +322,6 @@ disable = logging-not-lazy, broad-exception-caught, no-else-raise, - pointless-exception-statement, [REPORTS] output-format = text @@ -419,4 +418,4 @@ int-import-graph = [EXCEPTIONS] overgeneral-exceptions = builtins.Exception -# 3d0b8dd8b00e5591a9b964b7d1e683c0b647ffeb +# 6cf1ef23130203ed6ce415baf4d2bd922ef529a4 diff --git a/pylintrc_tweaks b/pylintrc_tweaks index 390778dd87b..90c0d8b7134 100644 --- a/pylintrc_tweaks +++ b/pylintrc_tweaks @@ -41,7 +41,6 @@ disable+ = logging-not-lazy, broad-exception-caught, no-else-raise, - pointless-exception-statement, [BASIC] attr-rgx = [a-z_][a-z0-9_]{2,40}$