mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Enable Ruff D (pydocstyle) with pep257 convention (#13326)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -44,8 +44,7 @@ SUPPORTED_VERSIONS = ["3.13", "3.12", "3.11", "3.10", "3.9", "3.8"]
|
||||
|
||||
|
||||
def distribution_with_test_cases(distribution_name: str) -> DistributionTests:
|
||||
"""Helper function for argument-parsing."""
|
||||
|
||||
"""Parse a CLI argument that is intended to be to a valid typeshed distribution."""
|
||||
try:
|
||||
return distribution_info(distribution_name)
|
||||
except RuntimeError as exc:
|
||||
|
||||
Reference in New Issue
Block a user