From c303ca4012d4730e50facf1a9ce1f2e78bbd52d4 Mon Sep 17 00:00:00 2001 From: Zedifus Date: Sun, 18 Jun 2023 15:36:49 +0100 Subject: [PATCH] Update overgeneral-exceptions Fixes deprecation warning: pylint: Command line or configuration file:1: UserWarning: Specifying exception names in the overgeneral-exceptions option without module name is deprecated and support for it will be removed in pylint 3.0. Use fully qualified name (maybe 'builtins.BaseException' ?) instead. --- .pylintrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index b9811f3a..e4e3f119 100644 --- a/.pylintrc +++ b/.pylintrc @@ -606,5 +606,5 @@ preferred-modules= # Exceptions that will emit a warning when being caught. Defaults to # "BaseException, Exception". -overgeneral-exceptions=BaseException, - Exception +overgeneral-exceptions=builtins.BaseException, + builtins.Exception