From e2def13044cff35dd1e1735ff793c663f227762f Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 15 Apr 2026 18:22:30 -0500 Subject: [PATCH 1/5] Quotation cleanups Signed-off-by: Benjamin Gilbert --- _testdata/testdata_fetch.py | 2 +- _testdata/testdata_index.py | 4 ++-- demo/_synctiles.py | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_testdata/testdata_fetch.py b/_testdata/testdata_fetch.py index 163a7d6..b6c0500 100755 --- a/_testdata/testdata_fetch.py +++ b/_testdata/testdata_fetch.py @@ -64,7 +64,7 @@ def fetch_file( sha.update(buf) count += len(buf) if count != int(r.headers['Content-Length']): - raise OSError(f"Short read fetching {relpath}") + raise OSError(f'Short read fetching {relpath}') if expected_sha256 is not None and expected_sha256 != sha.hexdigest(): raise OSError(f'Hash mismatch fetching {relpath}') except Exception: diff --git a/_testdata/testdata_index.py b/_testdata/testdata_index.py index 452ff16..441b43b 100755 --- a/_testdata/testdata_index.py +++ b/_testdata/testdata_index.py @@ -45,7 +45,7 @@ ) OPTIONAL_FIELDS = frozenset(('credit',)) -INDEX_TEMPLATE = ''' +INDEX_TEMPLATE = """