Skip to content

Commit b893ecc

Browse files
Fix typo in docstring of Tool.get_install_method
1 parent 18a1da0 commit b893ecc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/usethis/_tool/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def remove_managed_files(self) -> None:
511511
file.unlink()
512512

513513
def get_install_method(self) -> Literal["pre-commit", "devdep"] | None:
514-
"""Infer the method used to install the tool, return None is uninstalled."""
514+
"""Infer the method used to install the tool, return None if uninstalled."""
515515
if self.is_declared_as_dep():
516516
return "devdep"
517517

0 commit comments

Comments
 (0)