* Use Sentry helper function to report warnings Don't use Sentry directly but the existing helper function. * Add pytest that Sentry is by default off * Address ruff * Address ruff