We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c63d0a commit 2978634Copy full SHA for 2978634
src/sp_repo_review/checks/pyproject.py
@@ -89,7 +89,7 @@ def check(pyproject: dict[str, Any]) -> bool:
89
```
90
"""
91
options = pyproject["tool"]["pytest"]["ini_options"]
92
- return "minversion" in options and float(options["minversion"]) >= 6
+ return "minversion" in options and int(options["minversion"].split(".")[0]) >= 6
93
94
95
class PP303(PyProject):
0 commit comments