From a098b904b2597b47192a410270d7c7b16b9ea76e Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Fri, 15 Nov 2024 13:56:13 +0100 Subject: [PATCH] Typo fixes from #65 (#75) This PR isolates the typo fixes proposed in #65. I'm still not comfortable to add a new CI script without an explanation of how to run it locally, so this just takes the concrete changes from that PR. --------- Co-authored-by: Yaroslav Halchenko --- src/pystow/cache.py | 2 +- src/pystow/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pystow/cache.py b/src/pystow/cache.py index 83651dd..ed33e71 100644 --- a/src/pystow/cache.py +++ b/src/pystow/cache.py @@ -30,7 +30,7 @@ import pandas as pd __all__ = [ - # Classses + # Classes "Cached", "CachedPickle", "CachedJSON", diff --git a/src/pystow/utils.py b/src/pystow/utils.py index fec11ac..d3979c9 100644 --- a/src/pystow/utils.py +++ b/src/pystow/utils.py @@ -385,7 +385,7 @@ def download( url, path, ) - # Solution for progres bar from https://stackoverflow.com/a/63831344/5775947 + # Solution for progress bar from https://stackoverflow.com/a/63831344/5775947 total_size = int(response.headers.get("Content-Length", 0)) # Decompress if needed response.raw.read = partial(response.raw.read, decode_content=True) # type:ignore