From 2bab5c9f8fee0e6a8f5101d2a1d885f3a5a6383d Mon Sep 17 00:00:00 2001 From: Roman Babenko Date: Mon, 4 Nov 2024 11:29:51 +0200 Subject: [PATCH] Fix linter warnings --- credsweeper/deep_scanner/deep_scanner.py | 2 +- credsweeper/deep_scanner/xlsx_scanner.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/credsweeper/deep_scanner/deep_scanner.py b/credsweeper/deep_scanner/deep_scanner.py index 3160a961a..1230a0eef 100644 --- a/credsweeper/deep_scanner/deep_scanner.py +++ b/credsweeper/deep_scanner/deep_scanner.py @@ -52,7 +52,7 @@ class DeepScanner( PptxScanner, # TarScanner, # XmlScanner, # - XlsxScanner, # + XlsxScanner, # ZipScanner ): # yapf: disable """Advanced scanner with recursive exploring of data""" diff --git a/credsweeper/deep_scanner/xlsx_scanner.py b/credsweeper/deep_scanner/xlsx_scanner.py index b8cca7f39..f14b91001 100644 --- a/credsweeper/deep_scanner/xlsx_scanner.py +++ b/credsweeper/deep_scanner/xlsx_scanner.py @@ -3,13 +3,13 @@ from abc import ABC from typing import List +import pandas as pd + from credsweeper.credentials import Candidate from credsweeper.deep_scanner.abstract_scanner import AbstractScanner from credsweeper.file_handler.data_content_provider import DataContentProvider from credsweeper.file_handler.string_content_provider import StringContentProvider -import pandas as pd - logger = logging.getLogger(__name__)