Minor typing simplification

This commit is contained in:
Stéphane Bidoul 2021-11-24 23:34:03 +01:00
parent 5e7919eaf4
commit b8a9fadb26
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -30,7 +30,6 @@ class CommitInfo(BaseModel):
git_commit: str
@validator("repo")
@classmethod
def validate_repo(cls, v: str) -> str:
return v.lower()