From 16e2f5f7b16f7f43d8aeaca97d83db3e1b013c32 Mon Sep 17 00:00:00 2001 From: abhi_14gyan Date: Fri, 20 Feb 2026 03:44:14 +0530 Subject: [PATCH] fix: correct spelling mistakes found by CodeSpell Fix 5 typos in comments, docstrings, and documentation: - informations -> information (library/README.md) - interation -> iteration (calculator.py) - modifed -> modified, dish -> disk (cache_status.py) - pipline -> pipeline (pipeline/__init__.py) - synching -> syncing (pipeline.py) --- library/README.md | 2 +- library/src/iqb/calculator.py | 2 +- library/src/iqb/cli/cache_status.py | 2 +- library/src/iqb/pipeline/__init__.py | 2 +- library/src/iqb/pipeline/pipeline.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/library/README.md b/library/README.md index b6bd747..8d7ce87 100644 --- a/library/README.md +++ b/library/README.md @@ -178,7 +178,7 @@ uv run pyright --verbose # - "Loading pyproject.toml file at ..." # - "Found X source files" (should be ~5 files) # - Python version and search paths -# - "X errors, Y warnings, Z informations" +# - "X errors, Y warnings, Z information" ``` If you see `"Found 0 source files"`, the configuration is wrong. diff --git a/library/src/iqb/calculator.py b/library/src/iqb/calculator.py index e9f5611..cabf67d 100644 --- a/library/src/iqb/calculator.py +++ b/library/src/iqb/calculator.py @@ -82,7 +82,7 @@ def calculate_binary_requirement_score(self, network_requirement, value, thresho def calculate_iqb_score(self, data=None, print_details=False): """Calculates IQB score based on given data.""" - # TODO(bassosimone): remove the default data sample in a subsequent interation. + # TODO(bassosimone): remove the default data sample in a subsequent iteration. sample_data = { "m-lab": { "download_throughput_mbps": 15, diff --git a/library/src/iqb/cli/cache_status.py b/library/src/iqb/cli/cache_status.py index 84bda3d..fc0ad0c 100644 --- a/library/src/iqb/cli/cache_status.py +++ b/library/src/iqb/cli/cache_status.py @@ -32,7 +32,7 @@ def status(data_dir: str | None, show_all: bool) -> None: printed using the following status letter: \b - ' ' not modifed (on dish, in cache, same hash) + ' ' not modified (on disk, in cache, same hash) """ resolved = data_dir_or_default(data_dir) manifest_path = manifest_path_for_data_dir(resolved) diff --git a/library/src/iqb/pipeline/__init__.py b/library/src/iqb/pipeline/__init__.py index e1a5cd8..3dd8868 100644 --- a/library/src/iqb/pipeline/__init__.py +++ b/library/src/iqb/pipeline/__init__.py @@ -95,7 +95,7 @@ simplifies specifying time ranges significantly (e.g., October 2025 is represented using `since=20251001T000000Z` and `until=20251101T000000Z`). -The *current* implementation of the pipline enforces YYYY-MM-DD dates +The *current* implementation of the pipeline enforces YYYY-MM-DD dates because the underlying queries only support dates. Yet, we design the data format to accommodate for more fine grained time intervals in the future. diff --git a/library/src/iqb/pipeline/pipeline.py b/library/src/iqb/pipeline/pipeline.py index 55eef72..3415980 100644 --- a/library/src/iqb/pipeline/pipeline.py +++ b/library/src/iqb/pipeline/pipeline.py @@ -114,7 +114,7 @@ def get_cache_entry( end_date=end_date, ) - # 2. prepare for synching from BigQuery + # 2. prepare for syncing from BigQuery if enable_bigquery: entry.syncers.append(self._bq_syncer)