Skip to content

Commit 48e6ed2

Browse files
add codespell pre-commit hook and correct the missed items
1 parent a681469 commit 48e6ed2

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.cursor/rules/test-running.mdc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
---
2-
description: run tests wit uv tooling
2+
description: run tests with uv tooling
33
globs:
44
alwaysApply: true
55
---
66

77
use `uv run pytest` to run tests
88
use uv to manage dependencies
9-
9+
use `uv run python ...` to run inline tests
1010
follow preexisting conventions in the project
1111

12-
- use the fixtures
12+
in cases where a unittest/integration test adds value, prefer adding them first
13+
14+
- use the fixtures the project defines

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@ repos:
3131
rev: 2025.05.02
3232
hooks:
3333
- id: sp-repo-review
34+
35+
- repo: https://github.com/codespell-project/codespell
36+
rev: v2.3.0
37+
hooks:
38+
- id: codespell
39+
args: [--ignore-words-list=hist,nd,te]

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
- fix #879: add test that validates case different behavior on windows
5151
- migrate git describe command to new scm config
5252
- add support for failing on missing submodules
53-
- fix #279: expand errors when scm can be found upwards and relative_to wasnt used
53+
- fix #279: expand errors when scm can be found upwards and relative_to wasn't used
5454
- fix #577: introduce explicit scmversion node and short node
5555
- fix #1100: add workaround for readthedocs worktress to the docs
5656
- fix #790: document shallow fail for rtd

0 commit comments

Comments
 (0)