Skip to content

Commit e926bdc

Browse files
Zie619claude
andcommitted
fix: resolve ruff lint errors from Cisco AIBOM merge
Wrap long help strings in cli.py (108 > 100 chars) and fix import sort order in reporters/__init__.py. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1a5ff53 commit e926bdc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/ai_bom/cli.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ def scan(
282282
"table",
283283
"--format",
284284
"-f",
285-
help="Output format: table, cyclonedx, json, html, markdown, sarif, spdx3, csv, junit, cisco-aibom",
285+
help="Output format: table, cyclonedx, json, html, markdown,"
286+
" sarif, spdx3, csv, junit, cisco-aibom",
286287
),
287288
output: Optional[str] = typer.Option(
288289
None,
@@ -730,7 +731,8 @@ def scan_cloud(
730731
"table",
731732
"--format",
732733
"-f",
733-
help="Output format: table, cyclonedx, json, html, markdown, sarif, spdx3, csv, junit, cisco-aibom",
734+
help="Output format: table, cyclonedx, json, html, markdown,"
735+
" sarif, spdx3, csv, junit, cisco-aibom",
734736
),
735737
output: Optional[str] = typer.Option(None, "--output", "-o", help="Output file path"),
736738
quiet: bool = typer.Option(False, "--quiet", "-q", help="Suppress banner and progress"),

src/ai_bom/reporters/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""Reporter modules for AI-BOM scan output."""
22

33
from ai_bom.reporters.base import BaseReporter
4-
from ai_bom.reporters.cli_reporter import CLIReporter
54
from ai_bom.reporters.cisco_aibom import CiscoAIBOMReporter
5+
from ai_bom.reporters.cli_reporter import CLIReporter
66
from ai_bom.reporters.csv_reporter import CSVReporter
77
from ai_bom.reporters.cyclonedx import CycloneDXReporter
88
from ai_bom.reporters.html_reporter import HTMLReporter

0 commit comments

Comments
 (0)