Skip to content

Commit d2d31cb

Browse files
CM-55749-Ruff
1 parent f352f6f commit d2d31cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cycode/cli/apps/scan/code_scanner.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from cycode.cli.files_collector.sca.sca_file_collector import add_sca_dependencies_tree_documents_if_needed
2323
from cycode.cli.files_collector.zip_documents import zip_documents
2424
from cycode.cli.models import CliError, Document, LocalScanResult
25+
from cycode.cli.utils.path_utils import get_absolute_path, get_path_by_os
2526
from cycode.cli.utils.progress_bar import ScanProgressBarSection
2627
from cycode.cli.utils.scan_batch import run_parallel_batched_scan
2728
from cycode.cli.utils.scan_utils import (
@@ -31,7 +32,6 @@
3132
)
3233
from cycode.cyclient.models import ZippedFileScanResult
3334
from cycode.logger import get_logger
34-
from cycode.cli.utils.path_utils import get_path_by_os, get_absolute_path
3535

3636
if TYPE_CHECKING:
3737
from cycode.cli.files_collector.models.in_memory_zip import InMemoryZip
@@ -55,7 +55,7 @@ def scan_disk_files(ctx: typer.Context, paths: tuple[str, ...]) -> None:
5555
paths,
5656
is_cycodeignore_allowed=is_cycodeignore_allowed_by_scan_config(ctx),
5757
)
58-
58+
5959
# Add entrypoint.cycode file at each root path to mark the scan root
6060
for root_path in paths:
6161
absolute_root_path = get_absolute_path(root_path)
@@ -67,7 +67,7 @@ def scan_disk_files(ctx: typer.Context, paths: tuple[str, ...]) -> None:
6767
absolute_path=entrypoint_path,
6868
)
6969
documents.append(entrypoint_document)
70-
70+
7171
add_sca_dependencies_tree_documents_if_needed(ctx, scan_type, documents)
7272
scan_documents(ctx, documents, get_scan_parameters(ctx, paths))
7373
except Exception as e:

0 commit comments

Comments
 (0)