Fix warnings in Parcels as a result of the Parcels test suite and update Pytest settings to fail on warnings.
diff --git a/pyproject.toml b/pyproject.toml
index ca43f03b..c87b4d36 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -65,6 +65,7 @@ markers = [ # can be skipped by doing `pytest -m "not slow"` etc.
filterwarnings = [
"error:.*removed in a future release of Parcels.*:DeprecationWarning", # Have Parcels DeprecationWarnings fail CI (prevents deprecated items being used in internal code)
+ "error:::parcels.*",
]
[tool.ruff]
This will ensure that users don't get warnings when running Parcels code, and also makes sure that we're on top of deprecations etc.
Fix warnings in Parcels as a result of the Parcels test suite and update Pytest settings to fail on warnings.
This will ensure that users don't get warnings when running Parcels code, and also makes sure that we're on top of deprecations etc.