diff --git a/pyproject.toml b/pyproject.toml
index 83c7f3a47b5840d5e2c4187fdd290000a57a6c4c..6c10772d6b33958514ee02b81247eac52cd2b226 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -317,11 +317,6 @@ convention = "numpy"
 "doc/conf.py" = ["D"]
 "**/scripts/*.py" = ["E501"]
 
-[tool.pytest.ini_options]
-addopts = ["--cov=mednet", "--cov-report=term-missing", "--import-mode=append"]
-junit_logging = "all"
-junit_log_passing_tests = false
-
 [tool.numpydoc_validation]
 checks = [
   "all",  # report on all checks, except the ones below
@@ -348,3 +343,8 @@ override_SS05 = [ # override SS05 to allow docstrings starting with these words
   '^Access ',
   '^This',
 ]
+
+[tool.pytest.ini_options]
+addopts = ["--cov=mednet", "--cov-report=term-missing", "--import-mode=append"]
+junit_logging = "all"
+junit_log_passing_tests = false