Skip to content

Conversation

@corentin-core
Copy link

@corentin-core corentin-core commented Dec 29, 2025

Add a new check that detects redundant exception messages when using 'raise ... from'. When exception chaining is used, including the original error message (via str(err), f-string interpolation, or concatenation) is redundant since Python preserves it via cause.

Example of detected pattern:

    raise ConfigError(f"Failed: {err}") from err

Recommended:

    raise ConfigError("Failed to save config") from err

Type of Changes

Type
🐛 Bug fix
✨ New feature
🔨 Refactoring
📜 Docs

Description

Closes #10792

corentincorgie and others added 2 commits December 29, 2025 12:51
Add a new check that detects redundant exception messages when using
'raise ... from'. When exception chaining is used, including the original
error message (via str(err), f-string interpolation, or concatenation)
is redundant since Python preserves it via __cause__.

Example of detected pattern:
    raise ConfigError(f"Failed: {err}") from err

Recommended:
    raise ConfigError("Failed to save config") from err
@Pierre-Sassoulas Pierre-Sassoulas added the Enhancement ✨ Improvement to a component label Dec 29, 2025
@Pierre-Sassoulas Pierre-Sassoulas added this to the 4.1.0 milestone Dec 29, 2025
@codecov
Copy link

codecov bot commented Dec 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.99%. Comparing base (f5b9d75) to head (f70863f).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #10793   +/-   ##
=======================================
  Coverage   95.98%   95.99%           
=======================================
  Files         176      176           
  Lines       19561    19590   +29     
=======================================
+ Hits        18776    18805   +29     
  Misses        785      785           
Files with missing lines Coverage Δ
pylint/checkers/exceptions.py 98.49% <100.00%> (+0.18%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

This comment has been minimized.

@corentin-core corentin-core marked this pull request as draft December 29, 2025 15:55
@corentin-core corentin-core marked this pull request as ready for review December 30, 2025 09:05
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 2, 2026

🤖 Effect of this PR on checked open source code: 🤖

Effect on ansible:
The following messages are now emitted:

Details
  1. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/ansible/ansible/blob/5e10a9160c96b238d788b1b196a4c3e80ba6a8bd/lib/ansible/galaxy/collection/gpg.py#L39
  2. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/ansible/ansible/blob/5e10a9160c96b238d788b1b196a4c3e80ba6a8bd/lib/ansible/galaxy/collection/gpg.py#L81
  3. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/ansible/ansible/blob/5e10a9160c96b238d788b1b196a4c3e80ba6a8bd/lib/ansible/cli/galaxy.py#L1197
  4. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/ansible/ansible/blob/5e10a9160c96b238d788b1b196a4c3e80ba6a8bd/lib/ansible/plugins/strategy/__init__.py#L128
  5. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/ansible/ansible/blob/5e10a9160c96b238d788b1b196a4c3e80ba6a8bd/lib/ansible/plugins/inventory/__init__.py#L434
  6. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/ansible/ansible/blob/5e10a9160c96b238d788b1b196a4c3e80ba6a8bd/lib/ansible/inventory/manager.py#L318

Effect on django:
The following messages are now emitted:

Details
  1. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/django/django/blob/d6ae2ed868e43671afc4d433c3d8f4d27f7eb555/django/contrib/admin/views/main.py#L238
  2. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/django/django/blob/d6ae2ed868e43671afc4d433c3d8f4d27f7eb555/django/contrib/admin/views/main.py#L275
  3. redundant-exception-message:
    Redundant exception message: 'inner_ex' included in message with 'raise ... from inner_ex'
    https://github.com/django/django/blob/d6ae2ed868e43671afc4d433c3d8f4d27f7eb555/django/utils/autoreload.py#L632
  4. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/django/django/blob/d6ae2ed868e43671afc4d433c3d8f4d27f7eb555/django/tasks/__init__.py#L39
  5. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/django/django/blob/d6ae2ed868e43671afc4d433c3d8f4d27f7eb555/django/core/files/storage/handler.py#L45
  6. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/django/django/blob/d6ae2ed868e43671afc4d433c3d8f4d27f7eb555/django/core/serializers/pyyaml.py#L88
  7. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/django/django/blob/d6ae2ed868e43671afc4d433c3d8f4d27f7eb555/django/core/serializers/jsonl.py#L58
  8. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/django/django/blob/d6ae2ed868e43671afc4d433c3d8f4d27f7eb555/django/core/serializers/json.py#L81
  9. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/django/django/blob/d6ae2ed868e43671afc4d433c3d8f4d27f7eb555/django/urls/resolvers.py#L153

Effect on pandas:
The following messages are now emitted:

Details
  1. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/pandas-dev/pandas/blob/9467c7053504f412d48ce3853077a35524e297a5/pandas/core/nanops.py#L94
  2. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/pandas-dev/pandas/blob/9467c7053504f412d48ce3853077a35524e297a5/pandas/core/nanops.py#L793
  3. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/pandas-dev/pandas/blob/9467c7053504f412d48ce3853077a35524e297a5/pandas/core/tools/datetimes.py#L1184
  4. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/pandas-dev/pandas/blob/9467c7053504f412d48ce3853077a35524e297a5/pandas/core/tools/datetimes.py#L1193
  5. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/pandas-dev/pandas/blob/9467c7053504f412d48ce3853077a35524e297a5/pandas/core/internals/construction.py#L886
  6. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/pandas-dev/pandas/blob/9467c7053504f412d48ce3853077a35524e297a5/pandas/core/interchange/from_dataframe.py#L120
  7. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/pandas-dev/pandas/blob/9467c7053504f412d48ce3853077a35524e297a5/pandas/core/dtypes/cast.py#L1383
  8. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/pandas-dev/pandas/blob/9467c7053504f412d48ce3853077a35524e297a5/pandas/core/dtypes/common.py#L1788

Effect on pytest:
The following messages are now emitted:

Details
  1. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pytest-dev/pytest/blob/004a96740fb990c7d6dc39bd305b08852635ec5d/src/_pytest/debugging.py#L135
  2. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/pytest-dev/pytest/blob/004a96740fb990c7d6dc39bd305b08852635ec5d/src/_pytest/monkeypatch.py#L88
  3. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pytest-dev/pytest/blob/004a96740fb990c7d6dc39bd305b08852635ec5d/src/_pytest/config/findpaths.py#L55
  4. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pytest-dev/pytest/blob/004a96740fb990c7d6dc39bd305b08852635ec5d/src/_pytest/config/findpaths.py#L106

Effect on astroid:
The following messages are now emitted:

Details
  1. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/helpers.py#L314
  2. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/brain/brain_builtin_inference.py#L774
  3. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/brain/brain_builtin_inference.py#L809
  4. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/brain/brain_builtin_inference.py#L837
  5. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/brain/brain_builtin_inference.py#L853
  6. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/brain/brain_builtin_inference.py#L871
  7. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/brain/brain_namedtuple_enum.py#L216
  8. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/brain/brain_namedtuple_enum.py#L218
  9. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/nodes/node_classes.py#L2912
  10. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/nodes/node_classes.py#L3021
  11. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/nodes/scoped_nodes/scoped_nodes.py#L395
  12. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/nodes/scoped_nodes/scoped_nodes.py#L1431
  13. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/pylint-dev/astroid/blob/225d96401d3a893468eac17a729699b1b5cabb7b/astroid/nodes/scoped_nodes/scoped_nodes.py#L2524

Effect on sentry:
The following messages are now emitted:

Details
  1. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/getsentry/sentry/blob/7eddaa942f085c11a9ffb3d70472e781055ba03e/src/sentry/utils/redis.py#L324
  2. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/getsentry/sentry/blob/7eddaa942f085c11a9ffb3d70472e781055ba03e/src/sentry/utils/redis.py#L339
  3. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/getsentry/sentry/blob/7eddaa942f085c11a9ffb3d70472e781055ba03e/src/sentry/utils/locking/lock.py#L40
  4. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/getsentry/sentry/blob/7eddaa942f085c11a9ffb3d70472e781055ba03e/src/sentry/shared_integrations/client/base.py#L261
  5. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/getsentry/sentry/blob/7eddaa942f085c11a9ffb3d70472e781055ba03e/src/sentry/shared_integrations/client/base.py#L264
  6. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/getsentry/sentry/blob/7eddaa942f085c11a9ffb3d70472e781055ba03e/src/sentry/shared_integrations/client/base.py#L267
  7. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/getsentry/sentry/blob/7eddaa942f085c11a9ffb3d70472e781055ba03e/src/sentry/shared_integrations/client/base.py#L270
  8. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/getsentry/sentry/blob/7eddaa942f085c11a9ffb3d70472e781055ba03e/src/sentry/integrations/slack/metrics.py#L36
  9. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/getsentry/sentry/blob/7eddaa942f085c11a9ffb3d70472e781055ba03e/src/sentry/workflow_engine/processors/delayed_workflow.py#L170

Effect on black:
The following messages are now emitted:

Details
  1. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/psf/black/blob/c3cc5a95d4f72e6ccc27ebae23344fce8cc70786/src/black/__init__.py#L1586

Effect on home-assistant:
The following messages are now emitted:

Details
  1. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/loader.py#L1084
  2. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/loader.py#L1286
  3. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/config_validation.py#L749
  4. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/config_validation.py#L777
  5. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/config_validation.py#L861
  6. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/config_validation.py#L1456
  7. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/service.py#L302
  8. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/service.py#L316
  9. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/service.py#L344
  10. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/service.py#L365
  11. redundant-exception-message:
    Redundant exception message: 'first_err' included in message with 'raise ... from first_err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/sun.py#L106
  12. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/device_registry.py#L816
  13. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/condition.py#L478
  14. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/condition.py#L681
  15. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/condition.py#L873
  16. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/condition.py#L875
  17. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/condition.py#L944
  18. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/entity.py#L674
  19. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/template/__init__.py#L407
  20. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/helpers/template/__init__.py#L463
  21. redundant-exception-message:
    Redundant exception message: 'k' included in message with 'raise ... from k'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/scripts/check_config.py#L59
  22. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/husqvarna_automower/coordinator.py#L95
  23. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/husqvarna_automower/coordinator.py#L97
  24. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L95
  25. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L131
  26. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L179
  27. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L197
  28. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L210
  29. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L228
  30. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L238
  31. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L249
  32. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L313
  33. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L330
  34. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L341
  35. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L354
  36. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L365
  37. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/coordinator.py#L399
  38. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/__init__.py#L93
  39. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tado/__init__.py#L95
  40. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/switch.py#L76
  41. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/switch.py#L87
  42. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/addon_manager.py#L56
  43. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/update.py#L268
  44. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/coordinator.py#L345
  45. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/backup.py#L367
  46. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/backup.py#L455
  47. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/backup.py#L470
  48. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/backup.py#L475
  49. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/backup.py#L829
  50. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/backup.py#L837
  51. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/backup.py#L862
  52. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/update_helper.py#L39
  53. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/update_helper.py#L61
  54. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/hassio/update_helper.py#L79
  55. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tankerkoenig/coordinator.py#L75
  56. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tankerkoenig/coordinator.py#L82
  57. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/pooldose/coordinator.py#L54
  58. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/pooldose/coordinator.py#L58
  59. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/pooldose/__init__.py#L69
  60. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/pooldose/__init__.py#L73
  61. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/srp_energy/coordinator.py#L65
  62. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/route_b_smart_meter/coordinator.py#L75
  63. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/rfxtrx/__init__.py#L141
  64. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/calendar/__init__.py#L201
  65. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/calendar/__init__.py#L408
  66. redundant-exception-message:
    Redundant exception message: 'exception' included in message with 'raise ... from exception'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ovo_energy/__init__.py#L62
  67. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/palazzetti/coordinator.py#L42
  68. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/palazzetti/coordinator.py#L49
  69. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ollama/entity.py#L253
  70. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ollama/__init__.py#L70
  71. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/aurora/coordinator.py#L53
  72. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/velbus/__init__.py#L58
  73. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/landisgyr_heat_meter/config_flow.py#L113
  74. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/landisgyr_heat_meter/coordinator.py#L48
  75. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/mcp/coordinator.py#L92
  76. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/mcp/coordinator.py#L95
  77. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/mcp/coordinator.py#L134
  78. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/mcp/coordinator.py#L141
  79. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/mcp/coordinator.py#L144
  80. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/mcp/coordinator.py#L152
  81. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/renault/coordinator.py#L88
  82. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/renault/coordinator.py#L98
  83. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/renault/coordinator.py#L104
  84. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/renault/coordinator.py#L108
  85. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/flo/coordinator.py#L73
  86. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sharkiq/coordinator.py#L97
  87. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/co2signal/coordinator.py#L64
  88. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/modern_forms/coordinator.py#L53
  89. redundant-exception-message:
    Redundant exception message: 'exp' included in message with 'raise ... from exp'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/waze_travel_time/coordinator.py#L141
  90. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/nws/coordinator.py#L77
  91. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/nws/coordinator.py#L97
  92. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/elmax/coordinator.py#L113
  93. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/google_photos/coordinator.py#L65
  94. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/google_photos/media_source.py#L202
  95. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ondilo_ico/coordinator.py#L71
  96. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ondilo_ico/coordinator.py#L140
  97. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ondilo_ico/coordinator.py#L183
  98. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/harmony/data.py#L126
  99. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/openweathermap/coordinator.py#L117
  100. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/openweathermap/coordinator.py#L281
  101. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/yi/camera.py#L92
  102. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/go2rtc/__init__.py#L239
  103. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/energyid/__init__.py#L80
  104. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/energyid/__init__.py#L86
  105. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/energyid/__init__.py#L88
  106. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/energyid/__init__.py#L93
  107. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/energyid/__init__.py#L99
  108. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/aosmith/coordinator.py#L64
  109. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/aosmith/coordinator.py#L112
  110. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/google_mail/api.py#L58
  111. redundant-exception-message:
    Redundant exception message: 'api_err' included in message with 'raise ... from api_err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/airpatrol/coordinator.py#L42
  112. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/airpatrol/coordinator.py#L62
  113. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/powerwall/switch.py#L61
  114. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/powerwall/__init__.py#L128
  115. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/cloud/ai_task.py#L181
  116. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/cloud/ai_task.py#L185
  117. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/cloud/backup.py#L100
  118. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/cloud/backup.py#L125
  119. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/cloud/backup.py#L150
  120. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/cloud/backup.py#L160
  121. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/cloud/entity.py#L607
  122. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/cloud/entity.py#L611
  123. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/flipr/coordinator.py#L66
  124. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/flipr/coordinator.py#L81
  125. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/forecast_solar/coordinator.py#L78
  126. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/medcom_ble/coordinator.py#L48
  127. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/qnap_qsw/coordinator.py#L50
  128. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/qnap_qsw/coordinator.py#L79
  129. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/screenlogic/services.py#L102
  130. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/screenlogic/services.py#L131
  131. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/atag/coordinator.py#L46
  132. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/simplisafe/lock.py#L74
  133. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/simplisafe/lock.py#L86
  134. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/simplisafe/button.py#L88
  135. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/simplisafe/__init__.py#L332
  136. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/simplisafe/alarm_control_panel.py#L156
  137. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/simplisafe/alarm_control_panel.py#L168
  138. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/simplisafe/alarm_control_panel.py#L180
  139. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/homewizard/coordinator.py#L49
  140. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/homewizard/coordinator.py#L64
  141. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/webostv/device_trigger.py#L47
  142. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/webostv/__init__.py#L50
  143. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/dormakaba_dkey/coordinator.py#L50
  144. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/geocaching/coordinator.py#L63
  145. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/geocaching/coordinator.py#L65
  146. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ukraine_alarm/coordinator.py#L53
  147. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tts/__init__.py#L717
  148. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tts/__init__.py#L722
  149. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tts/media_source.py#L150
  150. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/watttime/__init__.py#L54
  151. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/control4/light.py#L52
  152. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/control4/light.py#L61
  153. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/control4/media_player.py#L105
  154. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/control4/climate.py#L85
  155. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/kaleidescape/__init__.py#L31
  156. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/radiotherm/config_flow.py#L33
  157. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/anthropic/entity.py#L747
  158. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/anthropic/__init__.py#L45
  159. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/rituals_perfume_genie/coordinator.py#L76
  160. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/rituals_perfume_genie/__init__.py#L52
  161. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ezviz/coordinator.py#L64
  162. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ezviz/number.py#L132
  163. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ezviz/alarm_control_panel.py#L148
  164. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/plex/update.py#L76
  165. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/plex/media_search.py#L77
  166. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/adguard/update.py#L70
  167. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/azure_storage/backup.py#L94
  168. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sense/coordinator.py#L76
  169. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sense/coordinator.py#L78
  170. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sense/__init__.py#L74
  171. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sense/__init__.py#L80
  172. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/zamg/coordinator.py#L50
  173. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/media_player/intent.py#L364
  174. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/media_player/intent.py#L394
  175. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/media_player/intent.py#L509
  176. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tasmota/camera.py#L91
  177. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/tasmota/camera.py#L96
  178. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/goodwe/coordinator.py#L75
  179. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/goodwe/coordinator.py#L77
  180. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ecoforest/coordinator.py#L42
  181. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/met_eireann/coordinator.py#L76
  182. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/airvisual_pro/__init__.py#L75
  183. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/airvisual_pro/__init__.py#L77
  184. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/elgato/coordinator.py#L62
  185. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sftp_storage/backup.py#L79
  186. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sftp_storage/backup.py#L120
  187. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sftp_storage/backup.py#L122
  188. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sftp_storage/backup.py#L136
  189. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/smarttub/controller.py#L97
  190. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/efergy/__init__.py#L29
  191. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/sql/util.py#L55
  192. redundant-exception-message:
    Redundant exception message: 'ex' included in message with 'raise ... from ex'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/deluge/coordinator.py#L76
  193. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/airvisual/__init__.py#L202
  194. redundant-exception-message:
    Redundant exception message: 'error' included in message with 'raise ... from error'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/ialarm/coordinator.py#L64
  195. redundant-exception-message:
    Redundant exception message: 'e' included in message with 'raise ... from e'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/lg_thinq/coordinator.py#L104
  196. redundant-exception-message:
    Redundant exception message: 'exc' included in message with 'raise ... from exc'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/lg_thinq/entity.py#L113
  197. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/octoprint/coordinator.py#L58
  198. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/octoprint/coordinator.py#L72
  199. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/reolink/__init__.py#L88
  200. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/reolink/__init__.py#L155
  201. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/reolink/__init__.py#L156
  202. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/reolink/__init__.py#L161
  203. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/netatmo/media_source.py#L57
  204. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/guardian/util.py#L76
  205. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/guardian/coordinator.py#L66
  206. redundant-exception-message:
    Redundant exception message: 'err' included in message with 'raise ... from err'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/guardian/services.py#L92
  207. redundant-exception-message:
    Redundant exception message: 'exception' included in message with 'raise ... from exception'
    https://github.com/home-assistant/core/blob/3b2a7ba561c8d70741a5a99d0d37e4e50f975f7c/homeassistant/components/uptimerobot/coordinator.py#L51
  208. redundant-exception-message:
    Redundant exception message: 'exception' included in message with 'raise ... from exception'
    https://gi...

This comment was truncated because GitHub allows only 65536 characters in a comment.

This comment was generated for commit 261c1a6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement ✨ Improvement to a component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add check for redundant exception message when using 'raise ... from' (W0720)

3 participants