From 5b2b43f00d485014dbe09746b5f2b775c96b1c40 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 21:27:58 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- surfactant/infoextractors/js_file.py | 3 ++- surfactant/infoextractors/js_library_patterns.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/surfactant/infoextractors/js_file.py b/surfactant/infoextractors/js_file.py index 9419492b..07eaf4e2 100644 --- a/surfactant/infoextractors/js_file.py +++ b/surfactant/infoextractors/js_file.py @@ -7,12 +7,13 @@ import re from typing import Any, Dict, List +import click import requests from loguru import logger import surfactant.plugin from surfactant.sbomtypes import SBOM, Software -import click + def supports_file(filetype) -> bool: return filetype == "JAVASCRIPT" diff --git a/surfactant/infoextractors/js_library_patterns.json b/surfactant/infoextractors/js_library_patterns.json index 78a1f184..1b68cd38 100644 --- a/surfactant/infoextractors/js_library_patterns.json +++ b/surfactant/infoextractors/js_library_patterns.json @@ -567,4 +567,4 @@ ] }, "dont check": {} -} \ No newline at end of file +}