Skip to content

Commit 3a42545

Browse files
committed
ruff format amendments
1 parent 3281578 commit 3a42545

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

cycode/cli/apps/scan/scan_command.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ def scan_command(
9393
typer.Option(
9494
'--maven-settings-file',
9595
show_default=False,
96-
help='When specified, Cycode will use this settings.xml file '
97-
'when building the maven dependency tree.',
96+
help='When specified, Cycode will use this settings.xml file when building the maven dependency tree.',
9897
dir_okay=False,
9998
rich_help_panel=_SCA_RICH_HELP_PANEL,
10099
),

cycode/cli/files_collector/sca/maven/restore_maven_dependencies.py

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,16 @@ def restore_from_secondary_command(self, document: Document, manifest_file_path:
6666
absolute_path=restore_file_path,
6767
)
6868

69-
70-
def create_secondary_restore_commands(self,manifest_file_path: str) -> list[list[str]]:
69+
def create_secondary_restore_commands(self, manifest_file_path: str) -> list[list[str]]:
7170
command = [
72-
'mvn',
73-
'dependency:tree',
74-
'-B',
75-
'-DoutputType=text',
76-
'-f',
77-
manifest_file_path,
78-
f'-DoutputFile={MAVEN_DEP_TREE_FILE_NAME}',
79-
]
71+
'mvn',
72+
'dependency:tree',
73+
'-B',
74+
'-DoutputType=text',
75+
'-f',
76+
manifest_file_path,
77+
f'-DoutputFile={MAVEN_DEP_TREE_FILE_NAME}',
78+
]
8079

8180
maven_settings_file = self.ctx.obj.get('maven_settings_file')
8281
if maven_settings_file:

0 commit comments

Comments
 (0)