Skip to content

Commit 5c88326

Browse files
committed
Add 'crate' to codespell ignore list
The word 'crate' is Rust terminology (a Rust package/library) and should not be flagged as a typo. This is used extensively in the Rust extension documentation when referring to the Rust 'bson' crate.
1 parent 50b86fb commit 5c88326

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ repos:
103103
# - test/test_bson.py:267: isnt ==> isn't
104104
# - test/versioned-api/crud-api-version-1-strict.json:514: nin ==> inn, min, bin, nine
105105
# - test/test_client.py:188: te ==> the, be, we, to
106-
args: ["-L", "fle,fo,infinit,isnt,nin,te,aks"]
106+
# - README.md:534: crate ==> create (Rust terminology - a crate is a Rust package)
107+
args: ["-L", "fle,fo,infinit,isnt,nin,te,aks,crate"]
107108

108109
- repo: local
109110
hooks:

0 commit comments

Comments
 (0)