From c1758fcad45b0cbf5211c7793ea8f97b9c897da1 Mon Sep 17 00:00:00 2001 From: Roni Choudhury Date: Fri, 2 Feb 2024 11:54:05 -0500 Subject: [PATCH] Use `logger.getLogger()` instead of direct instantiation See [LOG001](https://docs.astral.sh/ruff/rules/direct-logger-instantiation/). --- dandiapi/zarr/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dandiapi/zarr/models.py b/dandiapi/zarr/models.py index d558e9b92..be4291ac2 100644 --- a/dandiapi/zarr/models.py +++ b/dandiapi/zarr/models.py @@ -16,7 +16,7 @@ if TYPE_CHECKING: from pathlib import Path -logger = logging.Logger(name=__name__) +logger = logging.getLogger(name=__name__) # The status of the zarr ingestion (checksums, size, file count)