Skip to content

Commit 54a897f

Browse files
committed
Update PyLint settings to account for recent changes
- broad-exception-raised could probably be fixed at some point, but seems too much work at this point Signed-off-by: Stefan Marr <[email protected]>
1 parent d2c0c83 commit 54a897f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.pylintrc

+4-3
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ disable=raw-checker-failed,
101101
consider-merging-isinstance,
102102
duplicate-code,
103103
consider-using-f-string,
104-
cyclic-import
104+
cyclic-import,
105+
broad-exception-raised
105106

106107
# Enable the message, report, category or checker with the given id(s). You can
107108
# either give multiple identifier separated by comma (,) or put this option
@@ -572,5 +573,5 @@ min-public-methods=2
572573

573574
# Exceptions that will emit a warning when being caught. Defaults to
574575
# "BaseException, Exception".
575-
overgeneral-exceptions=BaseException,
576-
Exception
576+
overgeneral-exceptions=builtins.BaseException,
577+
builtins.Exception

0 commit comments

Comments
 (0)