Skip to content

Commit 7a1b783

Browse files
chore: pytest log_level is better than log_cli_level (#1178)
Committed via https://github.com/asottile/all-repos See scientific-python/cookie#679 sp-repo-review failure will be fixed in next release of sp-repo-review (today or tomorrow). --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 3576d02 commit 7a1b783

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ repos:
4242
rev: 1.20.0
4343
hooks:
4444
- id: blacken-docs
45-
additional_dependencies: [black==24.*]
45+
additional_dependencies: [black==25.*]
4646

4747
- repo: https://github.com/cheshirekow/cmake-format-precommit
4848
rev: v0.6.13
@@ -82,7 +82,7 @@ repos:
8282
- nox
8383
- orjson
8484
- packaging>=24.2
85-
- pytest
85+
- pytest<9 # pytest 9 requires Python 3.10+
8686
- pytest-subprocess
8787
- rich
8888
- setuptools-scm
@@ -150,6 +150,6 @@ repos:
150150
- id: validate-cff
151151

152152
- repo: https://github.com/scientific-python/cookie
153-
rev: 2025.10.20
153+
rev: 2025.11.10
154154
hooks:
155155
- id: sp-repo-review

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ filterwarnings = [
164164
"ignore:The 'wheel.metadata' package has been made private:DeprecationWarning",
165165
"ignore:version of cmake-example already set:UserWarning", # Caused by setuptoools-scm 9+ being installed
166166
]
167-
log_cli_level = "INFO"
167+
log_level = "INFO"
168168
pythonpath = ["tests/utils"]
169169
testpaths = ["tests"]
170170
markers = [

0 commit comments

Comments
 (0)