Skip to content

Commit 3642fa3

Browse files
committed
chore: add codespell
1 parent c3b915a commit 3642fa3

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

.codespell-ignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
afterall
2+
checkin
3+
collet
4+
copys
5+
errorprone
6+
flate
7+
fpr
8+
ges
9+
gir
10+
hastables
11+
re-use
12+
schem
13+
te
14+
thirdparty

.codespellrc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
[codespell]
19+
ignore-words = .codespell-ignore

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,9 @@ repos:
131131
- id: fmt
132132
name: rustfmt
133133
args: ["--all", "--manifest-path", "rust/Cargo.toml", "--"]
134+
- repo: https://github.com/codespell-project/codespell
135+
rev: 63c8f8312b7559622c0d82815639671ae42132ac # v2.4.1
136+
hooks:
137+
- id: codespell
134138

135139
exclude: "^c/vendor/.*"

0 commit comments

Comments
 (0)