Skip to content

Commit

Permalink
style(capa2sarif): fixing import order as isort on local machine was …
Browse files Browse the repository at this point in the history
…not updating code
  • Loading branch information
ReversingWithMe committed Jun 9, 2024
1 parent 138cf74 commit a6f9069
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/capa2sarif.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@
- sarif_om 1.0.4
- jschema_to_python 1.2.3
"""
import argparse
import sys
import json
import logging
import sys
from pathlib import Path
import argparse
from typing import List, Optional
from pathlib import Path

from capa.version import __version__

logger = logging.getLogger("capa2sarif")

# Dependencies
try:
from sarif_om import Run, SarifLog, Tool, ToolComponent
from sarif_om import Run, Tool, SarifLog, ToolComponent
except ImportError as e:
logger.error(
"Required import `sarif_om` is not installed. This is solved by installing `python3 -m pip install sarif_om>=1.0.4`. %s",
Expand Down

0 comments on commit a6f9069

Please sign in to comment.