Skip to content

Commit 16d2c5e

Browse files
committed
chore: add codespell
1 parent fd85000 commit 16d2c5e

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-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: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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
20+
skip = go/adbc/go.sum

.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/.*"

dev/release/rat_exclude_files.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*.json
22
*.Rproj
33
*.Rd
4+
.codespell-ignore
45
c/subprojects/fmt.wrap
56
c/subprojects/gtest.wrap
67
c/subprojects/nanoarrow.wrap

0 commit comments

Comments
 (0)