From cc74de5241f232908214a29fbc76bb323363e06e Mon Sep 17 00:00:00 2001 From: maxtaran2010 Date: Wed, 8 Jul 2026 12:43:48 +0300 Subject: [PATCH] Fix typos in docstrings and documentation - hashes.py: "Coverts" -> "Converts" - downloaders.rst: "obejct" -> "object" - processors.rst: "formated" -> "formatted" --- doc/downloaders.rst | 2 +- doc/processors.rst | 2 +- pooch/hashes.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/downloaders.rst b/doc/downloaders.rst index 349fb9071..047bf88ab 100644 --- a/doc/downloaders.rst +++ b/doc/downloaders.rst @@ -50,7 +50,7 @@ Creating your own downloaders If your use case is not covered by our downloaders, you can implement your own. :meth:`pooch.Pooch.fetch` and :func:`pooch.retrieve` will accept any *callable -obejct* that has the signature specified above. As an example, consider the +object* that has the signature specified above. As an example, consider the case in which the login credentials need to be provided to a site that is redirected from the original download URL: diff --git a/doc/processors.rst b/doc/processors.rst index 4f946b902..9b6fd7a45 100644 --- a/doc/processors.rst +++ b/doc/processors.rst @@ -125,7 +125,7 @@ the ``fname, action, pup`` arguments. Example use cases for this would be: size) to a more user friendly format (easy to open and fast to load into memory). * Add missing metadata to data from public servers. You might be using public - data that has known issues (poorly formated entries, missing metadata, etc) + data that has known issues (poorly formatted entries, missing metadata, etc) which can be fixed when the file is downloaded. The main advantage to using a processor for these actions is that they are diff --git a/pooch/hashes.py b/pooch/hashes.py index 9d6a06594..49374a323 100644 --- a/pooch/hashes.py +++ b/pooch/hashes.py @@ -146,7 +146,7 @@ def hash_matches(fname, known_hash, strict=False, source=None): If the *known_hash* is None, will always return True. - Coverts hashes to lowercase before comparison to avoid system specific + Converts hashes to lowercase before comparison to avoid system specific mismatches between hashes in the registry and computed hashes. Parameters