chore: Update pre-commit packages (#23173)

This commit is contained in:
Hugh A. Miles II
2023-03-13 17:05:13 -06:00
committed by GitHub
parent 9ae81b7c33
commit b820eb8235
87 changed files with 112 additions and 218 deletions

View File

@@ -47,7 +47,7 @@ def statsd_gauge(metric_prefix: Optional[str] = None) -> Callable[..., Any]:
except Exception as ex:
if (
hasattr(ex, "status")
and ex.status < 500 # type: ignore # pylint: disable=no-member
and ex.status < 500 # pylint: disable=no-member
):
current_app.config["STATS_LOGGER"].gauge(
f"{metric_prefix_}.warning", 1