Skip to content

Commit 2a2548c

Browse files
[pre-commit.ci] pre-commit autoupdate (#127)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black-pre-commit-mirror: 25.1.0 → 25.12.0](psf/black-pre-commit-mirror@25.1.0...25.12.0) - [github.com/scientific-python/cookie: 2025.05.02 → 2025.11.21](scientific-python/cookie@2025.05.02...2025.11.21) - [github.com/astral-sh/ruff-pre-commit: v0.12.9 → v0.14.9](astral-sh/ruff-pre-commit@v0.12.9...v0.14.9) * STY: Remove redundant check * repo-review: Ignore PP006 and PP304 * Update CI config in .pre-commit-config.yaml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: P. L. Lim <[email protected]>
1 parent cd953cd commit 2a2548c

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ jobs:
1616
posargs: --openmp-expected=True
1717
coverage: codecov
1818
envs: |
19-
# Code style
20-
- linux: style
21-
2219
# Standard tests
2320
2421
- linux: py310-test-oldestdeps

.pre-commit-config.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
ci:
2+
autofix_prs: false
3+
autoupdate_schedule: monthly
4+
autofix_commit_msg: "style: pre-commit fixes"
5+
16
repos:
27
- repo: https://github.com/pre-commit/pre-commit-hooks
38
rev: v6.0.0
@@ -12,12 +17,12 @@ repos:
1217
exclude: ".*(data.*|extern.*|licenses.*|.*.fits)$"
1318

1419
- repo: https://github.com/psf/black-pre-commit-mirror
15-
rev: 25.1.0
20+
rev: 25.12.0
1621
hooks:
1722
- id: black
1823

1924
- repo: https://github.com/scientific-python/cookie
20-
rev: 2025.05.02
25+
rev: 2025.11.21
2126
hooks:
2227
- id: sp-repo-review
2328

@@ -30,10 +35,7 @@ repos:
3035
- tomli
3136

3237
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: "v0.12.9"
38+
rev: "v0.14.9"
3439
hooks:
35-
- id: ruff
40+
- id: ruff-check
3641
args: ["--fix", "--show-fixes"]
37-
38-
ci:
39-
autofix_prs: false

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ ignore = [
135135
"PC180", # ignore using `prettier` in pre-commit
136136
"PC901", # ignore using custom update message (we have many of the default ones in our history already)
137137
"PC170", # ignore using pygrep
138+
"PP006", # ignore defining dev dependency group
139+
"PP304", # ignore setting log_level in pytest
138140
"PY005", # ignore having a tests/ folder
139141
]
140142

0 commit comments

Comments
 (0)