Skip to content

Commit

Permalink
Add codespell to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Jan 17, 2024
1 parent 800f05e commit 3d25c77
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@ repos:
language: system
pass_filenames: false
verbose: true
- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
hooks:
- id: codespell
additional_dependencies: [tomli]
args: ["--toml", "python/pyproject.toml"]
exclude: |
(?x)^(
.*test.*|
^CHANGELOG.md$
)
default_language_version:
python: python3
3 changes: 3 additions & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,6 @@ cmake.minimum-version = "3.26.4"
ninja.make-fallback = true
sdist.reproducible = true
wheel.packages = ["ucxx"]

[tool.codespell]
ignore-words-list = "cancelation,inflight"

0 comments on commit 3d25c77

Please sign in to comment.