From 184212fc988dac5d86faf51a361f4f86f54069cc Mon Sep 17 00:00:00 2001 From: kreczko Date: Wed, 6 Dec 2023 13:32:48 +0000 Subject: [PATCH] fix: pylint errors --- src/xrdsum/logger.py | 2 +- src/xrdsum/storage_catalog/cms.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xrdsum/logger.py b/src/xrdsum/logger.py index d56170b..311f00e 100644 --- a/src/xrdsum/logger.py +++ b/src/xrdsum/logger.py @@ -5,4 +5,4 @@ APP_LOGGER_NAME = "xrdsum" -__all__ = [APP_LOGGER_NAME, get_logger, TIMING, TRACE] +__all__ = ["APP_LOGGER_NAME", "get_logger", "TIMING", "TRACE"] diff --git a/src/xrdsum/storage_catalog/cms.py b/src/xrdsum/storage_catalog/cms.py index 36be58a..dd601cf 100644 --- a/src/xrdsum/storage_catalog/cms.py +++ b/src/xrdsum/storage_catalog/cms.py @@ -2,12 +2,13 @@ from __future__ import annotations import re -from dataclasses import field +from dataclasses import dataclass, field from xml.dom.minidom import parse as parse_xml from ._base import StorageCatalog +@dataclass class CMSStorageCatalog(StorageCatalog): """CMS file catalog lookup"""