mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-10-16 03:49:26 +00:00
chore: format the whole tree and lint the scratch measurement scripts; CI has been red since 25ae4b4
CI runs ruff format --check and ruff check over the whole repository; 29 files had drifted from the formatter and
four measurement scripts carried lint findings, so every push since 25ae4b4 failed before pytest ran.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
fbbc03f3ea
commit
0d7d3f0dc9
@@ -10,11 +10,23 @@ from openultrasast.hunt.table import SCHEMA_VERSION, FeatureTable
|
||||
|
||||
def row(label=1):
|
||||
return {
|
||||
"change_id": "c", "repo": "r", "head": "h", "path": "app.py", "line": 1,
|
||||
"kind": "vulnerability", "fold": 0, "label": label, "family": "injection",
|
||||
"fix_span": [1, 3], "label_ref": "case", "verification": None,
|
||||
"feature.diff.distance": 0, "provenance.diff.ok": True,
|
||||
"provenance.diff.reason": None, "provenance.diff.version": "1", "provenance.diff.bytes_read": 10,
|
||||
"change_id": "c",
|
||||
"repo": "r",
|
||||
"head": "h",
|
||||
"path": "app.py",
|
||||
"line": 1,
|
||||
"kind": "vulnerability",
|
||||
"fold": 0,
|
||||
"label": label,
|
||||
"family": "injection",
|
||||
"fix_span": [1, 3],
|
||||
"label_ref": "case",
|
||||
"verification": None,
|
||||
"feature.diff.distance": 0,
|
||||
"provenance.diff.ok": True,
|
||||
"provenance.diff.reason": None,
|
||||
"provenance.diff.version": "1",
|
||||
"provenance.diff.bytes_read": 10,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user