Skip to content

Commit b9a0d76

Browse files
authored
Centralized codespell config and refreshed tooling/lock file versions (#996)
1 parent deab116 commit b9a0d76

File tree

3 files changed

+225
-197
lines changed

3 files changed

+225
-197
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ repos:
2323
- id: mixed-line-ending
2424
- id: trailing-whitespace
2525
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: v0.12.1
26+
rev: v0.12.2
2727
hooks:
28-
- id: ruff
28+
- id: ruff-check
2929
args: [--fix, --exit-non-zero-on-fix]
3030
- repo: https://github.com/psf/black-pre-commit-mirror
3131
rev: 25.1.0
@@ -45,12 +45,6 @@ repos:
4545
hooks:
4646
- id: codespell
4747
additional_dependencies: [".[toml]"]
48-
exclude: |
49-
(?x)^(
50-
tests/cassettes.*|
51-
paperqa/clients/client_data.*|
52-
tests/stub_data.*
53-
)$
5448
- repo: https://github.com/crate-ci/typos
5549
rev: v1.32.0
5650
hooks:
@@ -64,7 +58,7 @@ repos:
6458
hooks:
6559
- id: validate-pyproject
6660
- repo: https://github.com/astral-sh/uv-pre-commit
67-
rev: 0.7.17
61+
rev: 0.7.19
6862
hooks:
6963
- id: uv-lock
7064
- repo: https://github.com/adamchainz/blacken-docs

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,12 @@ preview = true
113113
check-filenames = true
114114
check-hidden = true
115115
ignore-words-list = "aadd,astroid,ser,ECT"
116-
skip = "docs/2024-10-16_litqa2-splits.json5"
116+
skip = [
117+
"docs/2024-10-16_litqa2-splits.json5",
118+
"paperqa/clients/client_data/*",
119+
"tests/cassettes/*",
120+
"tests/stub_data/*",
121+
]
117122

118123
[tool.markdownlint]
119124
no-inline-html = false

0 commit comments

Comments
 (0)