Skip to content

Commit a385dc6

Browse files
henryiiijcfr
andcommitted
ci: Update pre-commit check to test for incorrect spelling of "language"
Co-authored-by: Jean-Christophe Fillion-Robin <[email protected]>
1 parent b3742cb commit a385dc6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@ repos:
7474
language: pygrep
7575
entry: PyBind|Numpy|Cmake|CCache|Github|PyTest
7676
exclude: .pre-commit-config.yaml
77+
- id: disallow-misspell
78+
name: Disallow misspelled words
79+
language: pygrep
80+
entry: "[Ll]angauge"
81+
exclude: .pre-commit-config.yaml
7782

7883
- repo: https://github.com/abravalheri/validate-pyproject
7984
rev: "v0.18"

0 commit comments

Comments
 (0)