Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 19, 2024
1 parent 1920fe3 commit fcbd670
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions plugins/cvebin2vex/surfactantplugin_cvebintool2vex.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,12 @@ def cvebintool2vex(sbom: SBOM, software: Software, filename: str, filetype: str)
# Clean up extra files
delete_extra_files(cdxvex_file_path, vex_file_path, json_file_path)


from pluggy import HookimplMarker

hookimpl = HookimplMarker("surfactant")


@hookimpl
def update_db():
# Example update logic
Expand Down
2 changes: 0 additions & 2 deletions surfactant/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@
from surfactant.cmd.createconfig import create_config
from surfactant.cmd.generate import sbom as generate
from surfactant.cmd.merge import merge_command

from surfactant.cmd.plugin import (
plugin_disable_cmd,
plugin_enable_cmd,
plugin_install_cmd,
plugin_list_cmd,
plugin_uninstall_cmd,
)

from surfactant.cmd.stat import stat
from surfactant.cmd.ui import ui

Expand Down

0 comments on commit fcbd670

Please sign in to comment.