Skip to content

Commit

Permalink
chore(test): Update pytest config
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 11, 2024
1 parent 59c6f31 commit a407341
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,21 @@ per-file-ignores = [

[tool.pytest.ini_options]
minversion = "8"
testpaths = ["src"]
log_cli_level = "INFO"
xfail_strict = true
norecursedirs = [".git"]
addopts = ["-svx", "--doctest-modules", "-ra", "--strict-config", "--strict-markers", "--import-mode=importlib"]
addopts = [
"-svx",
"-ra",
"--strict-config",
"--strict-markers",
"--doctest-modules",
# Config pytest-cov
"--cov=src/smriprep",
"--cov-report=xml",
"--cov-config=pyproject.toml",
]
doctest_optionflags = "ALLOW_UNICODE NORMALIZE_WHITESPACE ELLIPSIS"
env = "PYTHONHASHSEED=0"
filterwarnings = ["ignore::DeprecationWarning"]
Expand Down

0 comments on commit a407341

Please sign in to comment.