Skip to content

Commit

Permalink
fix RUF034 Useless if-else condition
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz authored Jan 14, 2025
1 parent 7df79b0 commit 2e266e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/find_paddle.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_pd_requirement(pd_version: str = "") -> dict:

return {
"paddle": [
"paddlepaddle>=3.0.0b1" if pd_version != "" else "paddlepaddle>=3.0.0b1",
"paddlepaddle>=3.0.0b1",
],
}

Expand Down

0 comments on commit 2e266e5

Please sign in to comment.