fvm.toolchains.questa_pkg.parsers.parse_lint module

Parser for lint reports.

This module provides functions to parse checks with their severities and counts.

It is specifically for Questa Lint results.

fvm.toolchains.questa_pkg.parsers.parse_lint.parse_check_summary(file_path)[source]

Parse a lint summary file and return counts and individual check details.

Parameters:

file_path (str) – Path to the lint summary file to parse.

Returns:

Dictionary containing counts and check details for each category.

Example structure:

{
    "Error": {"count": int},
    "Warning": {"count": int, "checks": {"check_name": int, ...}},
    "Info": {"count": int, "checks": {"check_name": int, ...}},
    "Resolved": {"count": int}
}

Return type:

dict