lint: update ruff rules

This commit is contained in:
Xuehai Pan 2024-02-16 09:43:47 +00:00
parent 64e35336cd
commit 1710579c66
22 changed files with 135 additions and 131 deletions

View file

@ -637,5 +637,5 @@ class PrometheusExporter: # pylint: disable=too-many-instance-attributes
pid,
username,
)
except KeyError:
except KeyError: # noqa: PERF203
pass