Skip to content

Commit ddcd5af

Browse files
authored
codespell fix (#2029)
1 parent be5cda6 commit ddcd5af

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,20 @@ repos:
1313
rev: 0.6.8
1414
hooks:
1515
- id: fix-smartquotes
16-
exclude: 'cassettes/'
16+
exclude: "cassettes/"
1717
- id: fix-spaces
18-
exclude: 'cassettes/'
18+
exclude: "cassettes/"
1919
- id: fix-ligatures
20-
exclude: 'cassettes/'
20+
exclude: "cassettes/"
21+
22+
- repo: https://github.com/codespell-project/codespell
23+
# Configuration for codespell is in pyproject.toml
24+
rev: v2.3.0
25+
hooks:
26+
- id: codespell
27+
args: ["--skip", "tests/models/cassettes/*"]
28+
additional_dependencies:
29+
- tomli
2130

2231
- repo: local
2332
hooks:
@@ -41,12 +50,12 @@ repos:
4150
args: [lint-js]
4251
language: system
4352
types_or: [javascript, ts, json]
44-
files: '^mcp-run-python/'
53+
files: "^mcp-run-python/"
4554
pass_filenames: false
4655
- id: clai-help
4756
name: clai help output
4857
entry: uv
49-
args: [run, pytest, 'clai/update_readme.py']
58+
args: [run, pytest, "clai/update_readme.py"]
5059
language: system
5160
types_or: [python, markdown]
5261
pass_filenames: false
@@ -57,12 +66,3 @@ repos:
5766
language: system
5867
types: [python]
5968
pass_filenames: false
60-
61-
- repo: https://github.com/codespell-project/codespell
62-
# Configuration for codespell is in pyproject.toml
63-
rev: v2.3.0
64-
hooks:
65-
- id: codespell
66-
args: ['--skip', 'tests/models/cassettes/*,docs/a2a/fasta2a.md,tests/models/test_cohere.py']
67-
additional_dependencies:
68-
- tomli

tests/models/cassettes/test_cohere/test_cohere_model_thinking_part.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ interactions:
258258
- **Bridge or Ferry:** If available, use a bridge or a ferry service. These are typically the safest and most reliable methods for crossing a river.
259259
260260
3. **Prepare and Pack Essential Items:**
261-
- **Life Jacket/Personal Floatation Device (PFD):** Always wear a life jacket or PFD when crossing a river, especially if swimming or using a boat.
261+
- **Life Jacket/Personal Flotation Device (PFD):** Always wear a life jacket or PFD when crossing a river, especially if swimming or using a boat.
262262
- **First-Aid Kit:** Carry a basic first-aid kit to handle any minor injuries that might occur during the crossing.
263263
- **Map and Compass:** Navigate the river and its surroundings with the help of a map and compass, especially if you're in an unfamiliar area.
264264
- **Communication Device:** Have a means of communication, such as a satellite phone or a personal locator beacon, especially in remote areas.

tests/models/test_cohere.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ async def test_cohere_model_thinking_part(allow_model_requests: None, co_api_key
512512
- **Bridge or Ferry:** If available, use a bridge or a ferry service. These are typically the safest and most reliable methods for crossing a river.
513513
514514
3. **Prepare and Pack Essential Items:**
515-
- **Life Jacket/Personal Floatation Device (PFD):** Always wear a life jacket or PFD when crossing a river, especially if swimming or using a boat.
515+
- **Life Jacket/Personal Flotation Device (PFD):** Always wear a life jacket or PFD when crossing a river, especially if swimming or using a boat.
516516
- **First-Aid Kit:** Carry a basic first-aid kit to handle any minor injuries that might occur during the crossing.
517517
- **Map and Compass:** Navigate the river and its surroundings with the help of a map and compass, especially if you're in an unfamiliar area.
518518
- **Communication Device:** Have a means of communication, such as a satellite phone or a personal locator beacon, especially in remote areas.

0 commit comments

Comments
 (0)