Skip to content

Commit 28666ba

Browse files
committed
Fix typos and improve descriptions in issue.py
1 parent c2439f1 commit 28666ba

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

prometheus/app/models/requests/issue.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ class IssueRequest(BaseModel):
4848
)
4949
number_of_candidate_patch: Optional[int] = Field(
5050
default=4,
51-
description="When the patch is not verfied (through build or test), number of candidate patches we generate to select the best one",
51+
description="When the patch is not verified (through build or test), "
52+
"number of candidate patches we generate to select the best one",
5253
examples=[4],
5354
)
5455
dockerfile_content: Optional[str] = Field(
@@ -68,16 +69,18 @@ class IssueRequest(BaseModel):
6869
)
6970
build_commands: Optional[Sequence[str]] = Field(
7071
default=None,
71-
description="If you specified dockerfile_content and run_build is True, you must also specify the build commands.",
72+
description="If you specified dockerfile_content and run_build is True, "
73+
"you must also specify the build commands.",
7274
examples=[["pip install -r requirements.txt", "python -m build"]],
7375
)
7476
test_commands: Optional[Sequence[str]] = Field(
7577
default=None,
76-
description="If you specified dockerfile_content and run_test is True, you must also specify the test commands.",
78+
description="If you specified dockerfile_content and run_test is True, "
79+
"you must also specify the test commands.",
7780
examples=[["pytest ."]],
7881
)
7982
push_to_remote: Optional[bool] = Field(
8083
default=False,
81-
description="When editing the code, whenver we should push the changes to a remote branch",
84+
description="When editing the code, whenever we should push the changes to a remote branch",
8285
examples=[True],
8386
)

0 commit comments

Comments
 (0)