INNER CODE UNIT · Python

warning

intermine/intermine · config/lib/parse_checkstyle_report.py:55

    def warning(self, exception):
        raise exception


ERROR_FMT = (
    "  line: {0.line:>4}, column: {0.column:>3} - {0.severity} - {0.message}"
)

workspace_dir = sys.argv[1]

error_count = 0
report_count = 0

for report in glob.glob(
    "**/reports/checkstyle/main.xml", root_dir=workspace_dir, recursive=True
):
    report_path = os.path.join(workspace_dir, report)
    with open(report_path) as f:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…