mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: Update pylint to 2.17.4 (#24700)
Co-authored-by: John Bodley <john.bodley@gmail.com>
This commit is contained in:
@@ -48,7 +48,9 @@ class SupersetProfiler: # pylint: disable=too-few-public-methods
|
||||
return Response.from_app(self.app, request.environ)
|
||||
|
||||
if Profiler is None:
|
||||
raise Exception("The module pyinstrument is not installed.")
|
||||
raise Exception( # pylint: disable=broad-exception-raised
|
||||
"The module pyinstrument is not installed."
|
||||
)
|
||||
|
||||
profiler = Profiler(interval=self.interval)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user