Skip to content

Commit d73a172

Browse files
committed
Finding ID is optional according to the spec
1 parent d0be8fb commit d73a172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codemodder/codetf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class Config:
143143

144144

145145
class Finding(BaseModel):
146-
id: str
146+
id: Optional[str] = None
147147
rule: Rule
148148

149149
class Config:

0 commit comments

Comments
 (0)