Skip to content

Commit 8c50242

Browse files
authored
chore: fix some typos in comments (#20197)
Signed-off-by: rocksload <[email protected]>
1 parent 1202e93 commit 8c50242

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

chia/_tests/core/daemon/test_daemon.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ async def test_add_private_key(daemon_connection_and_temp_keychain):
10151015
# Expect: Failure due to missing mnemonic
10161016
assert_response(await ws.receive(), missing_mnemonic_response_data)
10171017

1018-
# When: using a mmnemonic with an incorrect word (typo)
1018+
# When: using a mnemonic with an incorrect word (typo)
10191019
await ws.send_str(create_payload("add_private_key", {"mnemonic": mnemonic_with_typo}, "test", "daemon"))
10201020
# Expect: Failure due to misspelled mnemonic
10211021
assert_response(await ws.receive(), mnemonic_with_typo_response_data)
@@ -1025,7 +1025,7 @@ async def test_add_private_key(daemon_connection_and_temp_keychain):
10251025
# Expect: Failure due to invalid mnemonic
10261026
assert_response(await ws.receive(), invalid_mnemonic_length_response_data)
10271027

1028-
# When: using an incorrect mnemnonic
1028+
# When: using an incorrect mnemonic
10291029
await ws.send_str(create_payload("add_private_key", {"mnemonic": " ".join(["abandon"] * 24)}, "test", "daemon"))
10301030
# Expect: Failure due to checksum error
10311031
assert_response(await ws.receive(), invalid_mnemonic_response_data)
@@ -1340,7 +1340,7 @@ async def test_bad_json(daemon_connection_and_temp_keychain: tuple[aiohttp.Clien
13401340
),
13411341
RouteCase(
13421342
route="unknown_command",
1343-
description="non-existant route",
1343+
description="non-existent route",
13441344
request={},
13451345
response={"success": False, "error": "unknown_command unknown_command"},
13461346
),

chia/_tests/plot_sync/test_plot_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ async def test_sync_keys_missing(environment: Environment) -> None:
431431
# Run again two times to make sure we still get the same results in repeated refresh intervals
432432
await env.run_sync_test()
433433
await env.run_sync_test()
434-
# Drop all but 2 plots with missing keys and test sync inbetween
434+
# Drop all but 2 plots with missing keys and test sync in between
435435
assert len(env.dir_keys_missing) > 2
436436
for _ in range(len(env.dir_keys_missing) - 2):
437437
drop_plot = env.dir_keys_missing.path_list()[0]

ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ ignore = [
8787
"BLE001", # blind exceptions: ~300 errors
8888
"D", # docstrings: ~9000 errors,
8989
"TRY", # proper exception behavior: ~1300 errors
90-
"EM", # excetion messages: ~1000 errors
90+
"EM", # exception messages: ~1000 errors
9191
"C", # comprehensions: ~600 errors
9292
"SLF", # private member access: ~600 errors
9393
"FURB", # "refurbishing" and "modernizing": ~200 errors

0 commit comments

Comments
 (0)