Skip to content

Commit f690869

Browse files
authored
chore: pytest log_level is better than log_cli_level (#1029)
* chore: pytest log_level is better than log_cli_level Committed via https://github.com/asottile/all-repos * Restrict pytest version to less than 9 for type checking
1 parent 6d669ae commit f690869

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ repos:
4747
- orjson # Faster mypy
4848
- packaging
4949
- pbs_installer
50-
- pytest
50+
- pytest<9 # pytest 9 requires 3.10+
5151
- importlib_metadata
5252
- importlib_resources
5353
- tomli

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ minversion = "7.0"
143143
addopts = [ "-ra", "--strict-markers", "--strict-config" ]
144144
xfail_strict = true
145145
filterwarnings = [ "error" ]
146-
log_cli_level = "INFO"
146+
log_level = "INFO"
147147
testpaths = [ "tests" ]
148148
pythonpath = [ ".github/" ]
149149
markers = [

0 commit comments

Comments
 (0)