From 50da1859b4a575e9b8d2d2037a6b07f0e8dbd290 Mon Sep 17 00:00:00 2001 From: domna Date: Tue, 12 Sep 2023 15:22:36 +0200 Subject: [PATCH] Fix linting --- pynxtools/dataconverter/readers/rii_database/reader.py | 1 - pynxtools/dataconverter/readers/utils.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pynxtools/dataconverter/readers/rii_database/reader.py b/pynxtools/dataconverter/readers/rii_database/reader.py index 92f87da66..32fb7c5fa 100644 --- a/pynxtools/dataconverter/readers/rii_database/reader.py +++ b/pynxtools/dataconverter/readers/rii_database/reader.py @@ -17,7 +17,6 @@ # """Convert refractiveindex.info yaml files to nexus""" from typing import Tuple, Any, Dict -import logging from pynxtools.dataconverter.readers.json_yml.reader import YamlJsonReader from pynxtools.dataconverter.readers.rii_database.dispersion_reader import ( diff --git a/pynxtools/dataconverter/readers/utils.py b/pynxtools/dataconverter/readers/utils.py index b1b755102..c1826d744 100644 --- a/pynxtools/dataconverter/readers/utils.py +++ b/pynxtools/dataconverter/readers/utils.py @@ -17,9 +17,8 @@ # """Utility functions for the NeXus reader classes.""" import logging -from typing import Tuple from dataclasses import dataclass, replace -from typing import List, Any, Dict, Optional +from typing import List, Any, Dict, Optional, Tuple from collections.abc import Mapping import json import yaml