Skip to content

Commit 83e6c49

Browse files
Apply cookie rule PP304
PyProject: └── PP304 Sets the log level in pytest ❌ log_level should be set. This will allow logs to be displayed on failures.
1 parent a6c89a4 commit 83e6c49

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ exclude_lines = [
125125
ignore = ["PY005", "PY007", "PP302", "PP308", "PP309", "GH103", "GH212", "PC111", "PC140", "PC160", "PC170", "PC180", "MY100", "RF103"]
126126

127127
[tool.pytest.ini_options]
128-
addopts = "-ra --strict-config --strict-markers --cov=numcodecs --cov-report xml --doctest-modules --doctest-glob=*.pyx"
128+
addopts = ["-ra", "--strict-config", "--strict-markers", "--cov=numcodecs", "--cov-report xml", "--doctest-modules", "--doctest-glob=*.pyx"]
129129
doctest_optionflags = [
130130
"NORMALIZE_WHITESPACE",
131131
"ELLIPSIS",
@@ -148,7 +148,7 @@ norecursedirs = [
148148
"notebooks",
149149
"numcodecs.egg-info",
150150
]
151-
log_cli_level = "INFO"
151+
log_level = "INFO"
152152
xfail_strict = true
153153
filterwarnings = [
154154
"error",

0 commit comments

Comments
 (0)