fix pylint for sentry_mod
fixes #13243