docs: more standardization (#33124)

This commit is contained in:
Mason Daugherty
2025-09-25 20:46:20 -04:00
committed by GitHub
parent a5137b0a3e
commit 986302322f
125 changed files with 889 additions and 869 deletions

View File

@@ -50,12 +50,12 @@ def compare_versions(
) -> bool:
"""Compare a library version to some requirement using a given operation.
Arguments:
library_or_version (`str` or `packaging.version.Version`):
Args:
library_or_version:
A library name or a version to check.
operation (`str`):
operation:
A string representation of an operator, such as `">"` or `"<="`.
requirement_version (`str`):
requirement_version:
The version to compare the library version against
"""