Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions icsbom/icsbom.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,8 @@ def create_results_overview(input_sbom_file: Path, cve_matcher: CveMatcher, proc
vuln_info = cve_matcher.get_severity_info()
for severity in list(vuln_info.keys())[1:]:
overview += [
(
console_output.format_string(
f"{severity}", vuln_info[severity], vulnerability_styles[severity].style, left_justify=False
)
console_output.format_string(
f"{severity}", vuln_info[severity], vulnerability_styles[severity].style, left_justify=False
)
]

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ pytest-cov = "*"
pyinstaller = "*"

# Code formatting
black = "*"
black = "^25.1.0"

# Python linting tool
flake8 = "*"
flake8-bugbear = "*"
flake8-pyproject = "*"
flake8 = "^7.2.0"
flake8-bugbear = "^24.12.12"
flake8-pyproject = "^1.2.3"

[tool.black]
line-length = 120
Expand Down