From 83bd370766920a6d3c4fb385c9f0e70f2a4d7926 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 1 Jan 2026 15:27:49 +0000 Subject: [PATCH] docs: fix grammar in consume plugin files Fix grammar issues in consume plugin docstrings and comments: - "A dictionary caches" -> "A dictionary that caches" (missing "that") - "Definers" -> "Defines" (typo) - "Un-expected" -> "Unexpected" (incorrect hyphenation) - "older version" -> "older versions" (subject-verb agreement) --- .../cli/pytest_commands/plugins/consume/releases.py | 2 +- .../cli/pytest_commands/plugins/consume/simulators/base.py | 4 ++-- .../plugins/consume/simulators/helpers/exceptions.py | 4 ++-- repo_subpaths_for_grammar_check.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/releases.py b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/releases.py index dd51654cee..159d7d467d 100644 --- a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/releases.py +++ b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/releases.py @@ -186,7 +186,7 @@ def download_release_information( GitHub's API returns releases in pages of 30 by default. This function follows the pagination links to ensure we get every release, which is - crucial for finding older version or latest releases. + crucial for finding older versions or latest releases. """ all_releases = [] for repo in SUPPORTED_REPOS: diff --git a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/simulators/base.py b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/simulators/base.py index 3f9aa3c18d..09225a01a0 100644 --- a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/simulators/base.py +++ b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/simulators/base.py @@ -39,8 +39,8 @@ def check_live_port(test_suite_name: str) -> Literal[8545, 8551]: class FixturesDict(Dict[Path, Fixtures]): """ - A dictionary caches loaded fixture files to avoid reloading the same file - multiple times. + A dictionary that caches loaded fixture files to avoid reloading the same + file multiple times. """ def __init__(self) -> None: diff --git a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/simulators/helpers/exceptions.py b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/simulators/helpers/exceptions.py index 34feaf0e09..5e70675ada 100644 --- a/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/simulators/helpers/exceptions.py +++ b/packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/simulators/helpers/exceptions.py @@ -39,7 +39,7 @@ def __init__(self, *args: object) -> None: class GenesisBlockMismatchExceptionError(Exception): """ - Definers a mismatch exception between the client and fixture genesis + Defines a mismatch exception between the client and fixture genesis blockhash. """ @@ -68,7 +68,7 @@ def __init__( ) elif unexpected_fields: message += ( - "\n\nUn-expected genesis block header fields from client:\n" + "\n\nUnexpected genesis block header fields from client:\n" f"{pprint.pformat(unexpected_fields, indent=4)}" "\nIs the fork configuration correct?" ) diff --git a/repo_subpaths_for_grammar_check.md b/repo_subpaths_for_grammar_check.md index baf4334ded..b2a1ee4adb 100644 --- a/repo_subpaths_for_grammar_check.md +++ b/repo_subpaths_for_grammar_check.md @@ -6,7 +6,7 @@ Status legend: `[ ]` pending, `[~]` in progress, `[x]` complete ## packages/testing - CLI Plugins -- [ ] `packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/**/*.py` (~32 files) +- [x] `packages/testing/src/execution_testing/cli/pytest_commands/plugins/consume/**/*.py` (~32 files) - [ ] `packages/testing/src/execution_testing/cli/pytest_commands/plugins/filler/**/*.py` (~27 files) - [ ] `packages/testing/src/execution_testing/cli/pytest_commands/plugins/execute/**/*.py` (~21 files) - [ ] `packages/testing/src/execution_testing/cli/pytest_commands/plugins/forks/**/*.py`, `shared/**/*.py`, `help/**/*.py` (~16 files)