Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Address numpy and traits deprecations #3699

Merged
merged 14 commits into from
Nov 18, 2024
Merged
Prev Previous commit
Next Next commit
chore: Configure pytest globally
effigies committed Nov 18, 2024
commit 1d324ad8c2ac94c546d2ac5f7d651a1aa76adf7e
2 changes: 1 addition & 1 deletion nipype/info.py
Original file line number Diff line number Diff line change
@@ -153,7 +153,7 @@ def get_nipype_gitversion():
TESTS_REQUIRES = [
"codecov",
"coverage",
"pytest",
"pytest >= 6",
"pytest-cov",
"pytest-env",
"pytest-timeout",
21 changes: 21 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -4,3 +4,24 @@ build-backend = "setuptools.build_meta"

[tool.black]
skip-string-normalization = true

[tool.pytest.ini_options]
minversion = "6"
testpaths = ["nipype"]
log_cli_level = "INFO"
xfail_strict = true
norecursedirs = [".git"]
addopts = [
"-svx",
"-ra",
"--strict-config",
"--strict-markers",
"--doctest-modules",
"--cov=nipype",
"--cov-report=xml",
"--cov-config=pyproject.toml",
]
doctest_optionflags = "ALLOW_UNICODE NORMALIZE_WHITESPACE ELLIPSIS"
env = "PYTHONHASHSEED=0"
filterwarnings = ["ignore::DeprecationWarning"]
junit_family = "xunit2"