pylint icon indicating copy to clipboard operation
pylint copied to clipboard

[contextmanager-generator-missing-cleanup][new feature] Warn about @contextlib.contextmanager without try/finally in generator functions

Open rhyn0 opened this issue 2 years ago β€’ 2 comments

  • add: initial layout for new error
  • add: test cases for new checker
  • add: first pass at new checker

Type of Changes

Type
βœ“ :sparkles: New feature

Description

Add a checker for contextlib.contextmanager decorated generator functions that don't have cleanup handling for GeneratorExit.

Closes #2832

rhyn0 avatar Oct 08 '23 20:10 rhyn0

πŸ€– Effect of this PR on checked open source code: πŸ€–

Effect on astroid: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function restore_path https://github.com/pylint-dev/astroid/blob/46ed374bd5f1e4214b8f3b4f3e6ab444a14ce3de/astroid/context.py#L138

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

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function async_start_setup https://github.com/home-assistant/core/blob/8a033ee5544f5ed30b67a395525348f76101432d/homeassistant/setup.py#L502
  2. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function wrap_zigpy_exceptions https://github.com/home-assistant/core/blob/8a033ee5544f5ed30b67a395525348f76101432d/homeassistant/components/zha/core/cluster_handlers/init.py#L61

Effect on poetry-core: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function with_python_versions https://github.com/python-poetry/poetry-core/blob/010688e2c7d9bf90d77945386ab168c441b1d3fb/src/poetry/core/packages/package.py#L582
  2. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function temporary_directory https://github.com/python-poetry/poetry-core/blob/010688e2c7d9bf90d77945386ab168c441b1d3fb/src/poetry/core/utils/helpers.py#L44
  3. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _write_to_zip https://github.com/python-poetry/poetry-core/blob/010688e2c7d9bf90d77945386ab168c441b1d3fb/src/poetry/core/masonry/builders/wheel.py#L457
  4. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function setup_py https://github.com/python-poetry/poetry-core/blob/010688e2c7d9bf90d77945386ab168c441b1d3fb/src/poetry/core/masonry/builders/sdist.py#L223

Effect on black: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function nullcontext https://github.com/psf/black/blob/36078bc83f24dcd5f74e021a105429595a3fd63c/src/black/init.py#L1399

Effect on pytest: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function disabled https://github.com/pytest-dev/pytest/blob/54623f0f33c367e19c4041d30f11f71787e30719/src/_pytest/capture.py#L967

Effect on django: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function mark_for_rollback_on_error https://github.com/django/django/blob/e47298aec4fa04416e7082331fbd44bd9f2662aa/django/db/transaction.py#L101
  2. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function temporary_connection https://github.com/django/django/blob/e47298aec4fa04416e7082331fbd44bd9f2662aa/django/db/backends/base/base.py#L681
  3. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _nodb_cursor https://github.com/django/django/blob/e47298aec4fa04416e7082331fbd44bd9f2662aa/django/db/backends/base/base.py#L698
  4. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _nodb_cursor https://github.com/django/django/blob/e47298aec4fa04416e7082331fbd44bd9f2662aa/django/db/backends/postgresql/base.py#L397
  5. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function wrap_oracle_errors https://github.com/django/django/blob/e47298aec4fa04416e7082331fbd44bd9f2662aa/django/db/backends/oracle/base.py#L66
  6. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function timed https://github.com/django/django/blob/e47298aec4fa04416e7082331fbd44bd9f2662aa/django/test/utils.py#L952
  7. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _assert_raises_or_warns_cm https://github.com/django/django/blob/e47298aec4fa04416e7082331fbd44bd9f2662aa/django/test/testcases.py#L739
  8. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function wait_page_loaded https://github.com/django/django/blob/e47298aec4fa04416e7082331fbd44bd9f2662aa/django/contrib/admin/tests.py#L119

Effect on pandas: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function ensure_clean_store https://github.com/pandas-dev/pandas/blob/a76b3f4c73a351a11d2cae6236773192e630d4f5/pandas/tests/io/pytables/common.py#L27
  2. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function set_locale https://github.com/pandas-dev/pandas/blob/a76b3f4c73a351a11d2cae6236773192e630d4f5/pandas/_config/localization.py#L22
  3. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function rewrite_exception https://github.com/pandas-dev/pandas/blob/a76b3f4c73a351a11d2cae6236773192e630d4f5/pandas/util/_exceptions.py#L15
  4. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function rewrite_warning https://github.com/pandas-dev/pandas/blob/a76b3f4c73a351a11d2cae6236773192e630d4f5/pandas/util/_exceptions.py#L58
  5. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function decompress_file https://github.com/pandas-dev/pandas/blob/a76b3f4c73a351a11d2cae6236773192e630d4f5/pandas/_testing/contexts.py#L32
  6. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function run_transaction https://github.com/pandas-dev/pandas/blob/a76b3f4c73a351a11d2cae6236773192e630d4f5/pandas/io/sql.py#L1588
  7. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _mpl https://github.com/pandas-dev/pandas/blob/a76b3f4c73a351a11d2cae6236773192e630d4f5/pandas/io/formats/style.py#L94
  8. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _get_buffer https://github.com/pandas-dev/pandas/blob/a76b3f4c73a351a11d2cae6236773192e630d4f5/pandas/io/formats/format.py#L1113

Effect on sentry: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _sampled_eventstream_timer https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/eventstream/kafka/dispatch.py#L26
  2. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function test_config https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/silo.py#L92
  3. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function assume_test_silo_mode https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/silo.py#L252
  4. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function enforce_no_cross_transaction_interactions https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/hybrid_cloud.py#L130
  5. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function collect_transaction_queries https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/hybrid_cloud.py#L171
  6. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function auto_select_silo_mode_on_redirects https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/cases.py#L454
  7. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function api_gateway_proxy_stubbed https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/cases.py#L755
  8. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function disable_snuba_query_cache https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/cases.py#L1161
  9. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function override_regions https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/region.py#L10
  10. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function fix_monolith_region_pointer https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/region.py#L20
  11. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function override_region_config https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/region.py#L46
  12. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function outbox_runner https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/outbox.py#L28
  13. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function org_creation_context https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/factories.py#L278
  14. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function BurstTaskRunner https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/helpers/task_runner.py#L23
  15. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function override_options https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/helpers/options.py#L12
  16. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function Feature https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/helpers/features.py#L24
  17. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function AuthProvider https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/testutils/helpers/auth_providers.py#L9
  18. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function prepare_outboxes https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/db/models/outboxes.py#L54
  19. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _maybe_prepare_outboxes https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/db/models/outboxes.py#L242
  20. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function django_test_transaction_water_mark https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/db/postgres/transactions.py#L15
  21. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function in_test_hide_transaction_boundary https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/db/postgres/transactions.py#L67
  22. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function enforce_constraints https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/db/postgres/transactions.py#L106
  23. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function handle_query_errors https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/api/bases/organization_events.py#L202
  24. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function handle_query_errors https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/api/endpoints/organization_sessions.py#L98
  25. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function handle_query_errors https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/api/endpoints/organization_stats_v2.py#L215
  26. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function handle_query_errors https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/api/endpoints/organization_stats_summary.py#L254
  27. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function unguarded_write https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/silo/safety.py#L24
  28. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function __set_finished_time_on_success https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/utils/concurrent.py#L97
  29. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function catchable_atomic https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/runner/commands/repair.py#L18
  30. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function get_docker_client https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/runner/commands/devservices.py#L40
  31. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _measured https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/mediators/mediator.py#L251
  32. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function writable_data https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/models/releasefile.py#L297
  33. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function process_shard https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/models/outbox.py#L528
  34. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function process_coalesced https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/models/outbox.py#L551
  35. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function lock_blob https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/models/files/utils.py#L52
  36. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function locked_blob https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/models/files/utils.py#L63
  37. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _maybe_prepare_outboxes https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/models/avatars/user_avatar.py#L62
  38. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function measure https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/services/hybrid_cloud/rpcmetrics.py#L24
  39. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function wrap_sdk_span https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/services/hybrid_cloud/rpcmetrics.py#L102
  40. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function _open_request_context https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/services/hybrid_cloud/rpc.py#L625
  41. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function applied_to_request https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/services/hybrid_cloud/auth/model.py#L259
  42. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function get https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/consumers/synchronized.py#L53
  43. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function digest https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/digests/backends/redis.py#L188
  44. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function digest https://github.com/getsentry/sentry/blob/13b87b1f5d7ff1db8dc07a8884c887e8c0ddb356/src/sentry/digests/backends/dummy.py#L26

Effect on flask: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function session_transaction https://github.com/pallets/flask/blob/14232513fd618be02e0ab4b223f3105fcdde3cfe/src/flask/testing.py#L135

Effect on psycopg: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function copy https://github.com/psycopg/psycopg/blob/2b488bf728977276ffd74dd40bb0d6132f9d10c6/psycopg/psycopg/cursor.py#L867
  2. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function transaction https://github.com/psycopg/psycopg/blob/2b488bf728977276ffd74dd40bb0d6132f9d10c6/psycopg/psycopg/connection.py#L905
  3. contextmanager-generator-missing-cleanup: Unhandled generator cleanup in contextmanager function pipeline https://github.com/psycopg/psycopg/blob/2b488bf728977276ffd74dd40bb0d6132f9d10c6/psycopg/psycopg/connection.py#L943

This comment was generated for commit 72068a2117be435e45637b26bcda58bae517c87a

github-actions[bot] avatar Oct 08 '23 21:10 github-actions[bot]

πŸ€– Effect of this PR on checked open source code: πŸ€–

Effect on astroid: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: The code after line 141 will never be executed ('GeneratorExit' needs to be handled) https://github.com/pylint-dev/astroid/blob/46ed374bd5f1e4214b8f3b4f3e6ab444a14ce3de/astroid/context.py#L138

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

  1. contextmanager-generator-missing-cleanup: The code after line 524 will never be executed ('GeneratorExit' needs to be handled) https://github.com/home-assistant/core/blob/5c52a15df7b057e00630dc04ce170410099cfdca/homeassistant/setup.py#L502
  2. contextmanager-generator-missing-cleanup: The code after line 75 will never be executed ('GeneratorExit' needs to be handled) https://github.com/home-assistant/core/blob/5c52a15df7b057e00630dc04ce170410099cfdca/homeassistant/components/zha/core/cluster_handlers/init.py#L61

Effect on poetry-core: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: The code after line 589 will never be executed ('GeneratorExit' needs to be handled) https://github.com/python-poetry/poetry-core/blob/010688e2c7d9bf90d77945386ab168c441b1d3fb/src/poetry/core/packages/package.py#L582
  2. contextmanager-generator-missing-cleanup: The code after line 474 will never be executed ('GeneratorExit' needs to be handled) https://github.com/python-poetry/poetry-core/blob/010688e2c7d9bf90d77945386ab168c441b1d3fb/src/poetry/core/masonry/builders/wheel.py#L457
  3. contextmanager-generator-missing-cleanup: The code after line 236 will never be executed ('GeneratorExit' needs to be handled) https://github.com/python-poetry/poetry-core/blob/010688e2c7d9bf90d77945386ab168c441b1d3fb/src/poetry/core/masonry/builders/sdist.py#L223

Effect on pytest: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: The code after line 499 will never be executed ('GeneratorExit' needs to be handled) https://github.com/pytest-dev/pytest/blob/3ab70cd561cb0b7e5188b22ecf54a0e2d7a67bcb/src/_pytest/doctest.py#L473

Effect on django: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: The code after line 126 will never be executed ('GeneratorExit' needs to be handled) https://github.com/django/django/blob/8adc7c86ab85ed91e512bc49056e301cbe1715d0/django/db/transaction.py#L101
  2. contextmanager-generator-missing-cleanup: The code after line 163 will never be executed ('GeneratorExit' needs to be handled) https://github.com/django/django/blob/8adc7c86ab85ed91e512bc49056e301cbe1715d0/django/db/backends/utils.py#L129
  3. contextmanager-generator-missing-cleanup: The code after line 432 will never be executed ('GeneratorExit' needs to be handled) https://github.com/django/django/blob/8adc7c86ab85ed91e512bc49056e301cbe1715d0/django/db/backends/postgresql/base.py#L397
  4. contextmanager-generator-missing-cleanup: The code after line 88 will never be executed ('GeneratorExit' needs to be handled) https://github.com/django/django/blob/8adc7c86ab85ed91e512bc49056e301cbe1715d0/django/db/backends/oracle/base.py#L66
  5. contextmanager-generator-missing-cleanup: The code after line 744 will never be executed ('GeneratorExit' needs to be handled) https://github.com/django/django/blob/8adc7c86ab85ed91e512bc49056e301cbe1715d0/django/test/testcases.py#L739
  6. contextmanager-generator-missing-cleanup: The code after line 1376 will never be executed ('GeneratorExit' needs to be handled) https://github.com/django/django/blob/8adc7c86ab85ed91e512bc49056e301cbe1715d0/django/test/testcases.py#L1347
  7. contextmanager-generator-missing-cleanup: The code after line 130 will never be executed ('GeneratorExit' needs to be handled) https://github.com/django/django/blob/8adc7c86ab85ed91e512bc49056e301cbe1715d0/django/contrib/admin/tests.py#L119
  8. contextmanager-generator-missing-cleanup: The code after line 270 will never be executed ('GeneratorExit' needs to be handled) https://github.com/django/django/blob/8adc7c86ab85ed91e512bc49056e301cbe1715d0/django/template/context.py#L245

Effect on pandas: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: The code after line 38 will never be executed ('GeneratorExit' needs to be handled) https://github.com/pandas-dev/pandas/blob/c9a98f0f0fe3a1ff2ce549b2f2c7551cc9afc58a/pandas/tests/test_register_accessor.py#L27
  2. contextmanager-generator-missing-cleanup: The code after line 30 will never be executed ('GeneratorExit' needs to be handled) https://github.com/pandas-dev/pandas/blob/c9a98f0f0fe3a1ff2ce549b2f2c7551cc9afc58a/pandas/util/_exceptions.py#L15
  3. contextmanager-generator-missing-cleanup: The code after line 97 will never be executed ('GeneratorExit' needs to be handled) https://github.com/pandas-dev/pandas/blob/c9a98f0f0fe3a1ff2ce549b2f2c7551cc9afc58a/pandas/util/_exceptions.py#L58
  4. contextmanager-generator-missing-cleanup: The code after line 93 will never be executed ('GeneratorExit' needs to be handled) https://github.com/pandas-dev/pandas/blob/c9a98f0f0fe3a1ff2ce549b2f2c7551cc9afc58a/pandas/_testing/contexts.py#L55

Effect on sentry: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: The code after line 1158 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/testutils/cases.py#L1155
  2. contextmanager-generator-missing-cleanup: The code after line 59 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/testutils/outbox.py#L28
  3. contextmanager-generator-missing-cleanup: The code after line 44 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/testutils/helpers/options.py#L12
  4. contextmanager-generator-missing-cleanup: The code after line 126 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/testutils/helpers/features.py#L24
  5. contextmanager-generator-missing-cleanup: The code after line 12 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/testutils/helpers/auth_providers.py#L9
  6. contextmanager-generator-missing-cleanup: The code after line 264 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/api/bases/organization_events.py#L205
  7. contextmanager-generator-missing-cleanup: The code after line 104 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/api/endpoints/organization_sessions.py#L98
  8. contextmanager-generator-missing-cleanup: The code after line 221 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/api/endpoints/organization_stats_v2.py#L215
  9. contextmanager-generator-missing-cleanup: The code after line 260 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/api/endpoints/organization_stats_summary.py#L254
  10. contextmanager-generator-missing-cleanup: The code after line 360 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/utils/snuba.py#L336
  11. contextmanager-generator-missing-cleanup: The code after line 104 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/utils/concurrent.py#L97
  12. contextmanager-generator-missing-cleanup: The code after line 23 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/runner/commands/repair.py#L18
  13. contextmanager-generator-missing-cleanup: The code after line 81 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/runner/commands/devservices.py#L41
  14. contextmanager-generator-missing-cleanup: The code after line 261 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/mediators/mediator.py#L251
  15. contextmanager-generator-missing-cleanup: The code after line 347 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/models/releasefile.py#L297
  16. contextmanager-generator-missing-cleanup: The code after line 548 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/models/outbox.py#L528
  17. contextmanager-generator-missing-cleanup: The code after line 587 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/models/outbox.py#L551
  18. contextmanager-generator-missing-cleanup: The code after line 74 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/models/files/utils.py#L63
  19. contextmanager-generator-missing-cleanup: The code after line 30 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/services/hybrid_cloud/rpcmetrics.py#L24
  20. contextmanager-generator-missing-cleanup: The code after line 247 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/d36da19cf57433408068d100cab5b1e56ff6b8de/src/sentry/digests/backends/redis.py#L188

Effect on flask: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: The code after line 182 will never be executed ('GeneratorExit' needs to be handled) https://github.com/pallets/flask/blob/541bc8dfc2263cfa1ab2f209ce6132e1835cac9b/src/flask/testing.py#L135

Effect on psycopg: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: The code after line 890 will never be executed ('GeneratorExit' needs to be handled) https://github.com/psycopg/psycopg/blob/b1c3c19330dced6b32e595e3d3aed60e160541da/psycopg/psycopg/cursor.py#L867

This comment was generated for commit 74841ab39b3d8cca94b11f69ecf512720ca5d8f5

github-actions[bot] avatar Oct 14 '23 03:10 github-actions[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.83%. Comparing base (e31a155) to head (3bd7132). Report is 181 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #9133      +/-   ##
==========================================
+ Coverage   95.76%   95.83%   +0.07%     
==========================================
  Files         173      174       +1     
  Lines       18665    18887     +222     
==========================================
+ Hits        17874    18101     +227     
+ Misses        791      786       -5     
Files Coverage Ξ”
pylint/checkers/base/__init__.py 100.00% <100.00%> (ΓΈ)
pylint/checkers/base/function_checker.py 100.00% <100.00%> (ΓΈ)

... and 39 files with indirect coverage changes

codecov[bot] avatar Mar 03 '24 21:03 codecov[bot]

πŸ€– Effect of this PR on checked open source code: πŸ€–

Effect on sentry: The following messages are now emitted:

  1. contextmanager-generator-missing-cleanup: The code after line 48 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/4135a006ef3f880dab3201d773257b4554778de9/src/sentry/testutils/pytest/relay.py#L49
  2. contextmanager-generator-missing-cleanup: The code after line 48 will never be executed ('GeneratorExit' needs to be handled) https://github.com/getsentry/sentry/blob/4135a006ef3f880dab3201d773257b4554778de9/src/sentry/testutils/pytest/relay.py#L49

This comment was generated for commit eb404793292c70822a51a0b0d0fd8d7b602fe22d

github-actions[bot] avatar Mar 04 '24 01:03 github-actions[bot]

Ahh I didn't know about 'safe_infer'. That would be helpful because I can find the FunctionDef of the used item in the With.

Note for later 'safe_infer(with_node.items[0][0])'

That should allow me to remove the odd state objects in the init.

As for the warnings being on using generator was due to new background from the issue #2832. Using certain context-managers in a generator will cause context leaks which should be warned on the using function rather than the context-manager.

rhyn0 avatar Mar 04 '24 23:03 rhyn0

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 5c50505749f9d21a993b938a6eca7da13e11aa26

github-actions[bot] avatar Mar 24 '24 06:03 github-actions[bot]

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 8730bc7cac514f1c662b360190b838b4365aac4e

github-actions[bot] avatar Mar 24 '24 06:03 github-actions[bot]

Does this need reviews or do you need to polish some things still @rhyn0 ? I would be glad to have this in 3.2.0 πŸ˜„

Pierre-Sassoulas avatar May 04 '24 20:05 Pierre-Sassoulas

From what I can tell it's very close:

  • some unresolved documentation comments
  • docs check is failing
  • TODO statements about yield and asyncwith

Happy to give the whole thing a once-over when those are in πŸ‘

jacobtylerwalls avatar May 04 '24 20:05 jacobtylerwalls

πŸ€– Effect of this PR on checked open source code: πŸ€–

Effect on astroid: The following messages are now emitted:

  1. protected-access: Access to a protected member _metaclass_lookup_attribute of a client class https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/manager.py#L462
  2. suppressed-message: Suppressed 'import-outside-toplevel' (from line 442) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/manager.py#L448
  3. line-too-long: Line too long (108/100) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L257
  4. too-complex: 'find_module' is too complex. The McCabe rating is 11 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L129
  5. missing-class-docstring: Missing class docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L31
  6. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L32
  7. too-few-public-methods: Too few public methods (1/2) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L31
  8. too-many-try-statements: try clause contains 5 statements, expected at most 1 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L145
  9. magic-value-comparison: Consider using a named constant or an enum instead of ''distutils''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L197
  10. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L324
  11. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L325
  12. magic-value-comparison: Consider using a named constant or an enum instead of 'b'pkgutil''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L330
  13. magic-value-comparison: Consider using a named constant or an enum instead of 'b'extend_path''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L330
  14. magic-value-comparison: Consider using a named constant or an enum instead of 'b'pkg_resources''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L332
  15. magic-value-comparison: Consider using a named constant or an enum instead of 'b'declare_namespace(name)''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L332
  16. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L337
  17. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L343
  18. confusing-consecutive-elif: Consecutive elif with differing indentation level, consider creating a function to separate the inner elif https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L358
  19. consider-using-f-string: Formatting a regular string which could be an f-string https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L355
  20. consider-using-f-string: Formatting a regular string which could be an f-string https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L360
  21. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L371
  22. consider-using-assignment-expr: Use 'if (meta_finder_name := meta_finder.class.name) not in _MetaPathFinderModuleTypes:' instead https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L391
  23. consider-using-assignment-expr: Use 'if (spec := meta_finder.find_spec(modname, submodule_path)):' instead https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L412
  24. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L448
  25. while-used: Used while loop https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L458

The following messages are no longer emitted:

  1. protected-access: Access to a protected member _metaclass_lookup_attribute of a client class https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/manager.py#L461
  2. line-too-long: Line too long (108/100) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L256
  3. too-complex: 'find_module' is too complex. The McCabe rating is 11 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L128
  4. missing-class-docstring: Missing class docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L30
  5. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L31
  6. too-few-public-methods: Too few public methods (1/2) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L30
  7. too-many-try-statements: try clause contains 5 statements, expected at most 1 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L144
  8. magic-value-comparison: Consider using a named constant or an enum instead of ''distutils''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L196
  9. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L323
  10. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L324
  11. magic-value-comparison: Consider using a named constant or an enum instead of 'b'pkgutil''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L329
  12. magic-value-comparison: Consider using a named constant or an enum instead of 'b'extend_path''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L329
  13. magic-value-comparison: Consider using a named constant or an enum instead of 'b'pkg_resources''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L331
  14. magic-value-comparison: Consider using a named constant or an enum instead of 'b'declare_namespace(name)''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L331
  15. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L336
  16. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L342
  17. confusing-consecutive-elif: Consecutive elif with differing indentation level, consider creating a function to separate the inner elif https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L357
  18. consider-using-f-string: Formatting a regular string which could be an f-string https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L354
  19. consider-using-f-string: Formatting a regular string which could be an f-string https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L359
  20. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L370
  21. consider-using-assignment-expr: Use 'if (meta_finder_name := meta_finder.class.name) not in _MetaPathFinderModuleTypes:' instead https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L390
  22. consider-using-assignment-expr: Use 'if (spec := meta_finder.find_spec(modname, submodule_path)):' instead https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L411
  23. while-used: Used while loop https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L452

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

  1. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/diagnostics.py#L17
  2. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L28
  3. abstract-method: Method 'async_browse_media' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  4. abstract-method: Method 'clear_playlist' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  5. abstract-method: Method 'join_players' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  6. abstract-method: Method 'media_next_track' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  7. abstract-method: Method 'media_pause' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  8. abstract-method: Method 'media_play' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  9. abstract-method: Method 'media_previous_track' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  10. abstract-method: Method 'media_seek' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  11. abstract-method: Method 'media_stop' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  12. abstract-method: Method 'mute_volume' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  13. abstract-method: Method 'play_media' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  14. abstract-method: Method 'select_sound_mode' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  15. abstract-method: Method 'select_source' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  16. abstract-method: Method 'set_repeat' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  17. abstract-method: Method 'set_shuffle' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  18. abstract-method: Method 'set_volume_level' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  19. abstract-method: Method 'turn_off' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  20. abstract-method: Method 'turn_on' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  21. abstract-method: Method 'unjoin_player' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  22. too-many-try-statements: try clause contains 3 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L193
  23. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/init.py#L50
  24. unused-argument: Unused argument 'event' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/init.py#L75
  25. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L30
  26. abstract-method: Method 'delete_command' is abstract in class 'RemoteEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  27. abstract-method: Method 'learn_command' is abstract in class 'RemoteEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  28. abstract-method: Method 'send_command' is abstract in class 'RemoteEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  29. abstract-method: Method 'turn_off' is abstract in class 'ToggleEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  30. abstract-method: Method 'turn_on' is abstract in class 'ToggleEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  31. consider-using-assignment-expr: Use 'if (activity := kwargs.get(ATTR_ACTIVITY, '')):' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L68
  32. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L54
  33. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L54
  34. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L59
  35. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L59
  36. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L59
  37. unexpected-keyword-arg: Unexpected keyword argument 'suggested_display_precision' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L59
  38. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L66
  39. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L66
  40. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L66
  41. unexpected-keyword-arg: Unexpected keyword argument 'entity_registry_enabled_default' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L66
  42. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L73
  43. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L73
  44. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L73
  45. unexpected-keyword-arg: Unexpected keyword argument 'suggested_display_precision' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L73
  46. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L80
  47. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L80
  48. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L80
  49. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L86
  50. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L86
  51. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L86
  52. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L92
  53. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L92
  54. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L92
  55. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L98
  56. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L98
  57. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L103
  58. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L103
  59. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L103
  60. unexpected-keyword-arg: Unexpected keyword argument 'suggested_display_precision' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L103
  61. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L110
  62. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L110
  63. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L110
  64. unexpected-keyword-arg: Unexpected keyword argument 'options' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L110
  65. prefer-typing-namedtuple: Prefer 'typing.NamedTuple' over 'collections.namedtuple' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L119
  66. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L162
  67. too-complex: 'async_setup_entry' is too complex. The McCabe rating is 14 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L113
  68. import-error: Unable to import 'aiohttp' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L6
  69. import-error: Unable to import 'habitipy.aio' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L7
  70. import-error: Unable to import 'voluptuous' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L8
  71. too-few-public-methods: Too few public methods (1/2) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L116
  72. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L134
  73. import-error: Unable to import 'aiohttp' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/coordinator.py#L10
  74. import-error: Unable to import 'habitipy.aio' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/coordinator.py#L11
  75. too-many-try-statements: try clause contains 4 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/coordinator.py#L48
  76. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bring/init.py#L39
  77. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bring/todo.py#L36
  78. too-many-lines: Too many lines in module (1028/1000) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/sensor.py#L1
  79. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/sensor.py#L961
  80. consider-using-assignment-expr: Use 'if not (runtime_data := _get_runtime_data_from_device_id(hass, device_id)):' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/device_action.py#L53
  81. unused-argument: Unused argument 'variables' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/device_action.py#L45
  82. unused-argument: Unused argument 'context' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/device_action.py#L46
  83. magic-value-comparison: Consider using a named constant or an enum instead of ''entity_id''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/diagnostics.py#L68
  84. too-many-locals: Too many local variables (18/15) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L52
  85. consider-using-assignment-expr: Use 'if (unique_id := _unique_id_from_status(status)) is None:' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L109
  86. consider-ternary-expression: Consider rewriting as a ternary expression https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L112
  87. consider-using-assignment-expr: Use 'if not (serial := _serial_from_status(status)):' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L188
  88. too-many-arguments: Too many arguments (7/5) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L220
  89. magic-value-comparison: Consider using a named constant or an enum instead of ''name''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L272
  90. magic-value-comparison: Consider using a named constant or an enum instead of ''area''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L275
  91. magic-value-comparison: Consider using a named constant or an enum instead of ''domain''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L278
  92. magic-value-comparison: Consider using a named constant or an enum instead of ''device_class''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L281
  93. magic-value-comparison: Consider using a named constant or an enum instead of ''state''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L284
  94. locally-disabled: Locally disabling import-outside-toplevel (C0415) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L835
  95. too-complex: 'async_step_options' is too complex. The McCabe rating is 12 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L390
  96. too-complex: 'async_get_broker_settings' is too complex. The McCabe rating is 25 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L537
  97. too-complex: 'check_certicate_chain' is too complex. The McCabe rating is 13 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L865
  98. unused-argument: Unused argument 'user_input' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L349
  99. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L418
  100. magic-value-comparison: Consider using a named constant or an enum instead of ''birth_topic''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L434
  101. magic-value-comparison: Consider using a named constant or an enum instead of ''will_topic''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L444
  102. too-many-arguments: Too many arguments (6/5) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L537
  103. too-many-locals: Too many local variables (27/15) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L537
  104. too-many-locals: Too many local variables (16/15) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L558
  105. magic-value-comparison: Consider using a named constant or an enum instead of ''auto''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L569
  106. magic-value-comparison: Consider using a named constant or an enum instead of ''custom''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L571
  107. consider-using-assignment-expr: Use 'if (certificate_id := user_input.get(CONF_CERTIFICATE)):' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L594
  108. too-many-boolean-expressions: Too many boolean expressions in if statement (8/5) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L600
  109. magic-value-comparison: Consider using a named constant or an enum instead of ''custom''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L604
  110. too-many-try-statements: try clause contains 3 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L647
  111. too-many-branches: Too many branches (14/12) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L558
  112. magic-value-comparison: Consider using a named constant or an enum instead of ''off''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L710
  113. magic-value-comparison: Consider using a named constant or an enum instead of ''auto''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L781
  114. magic-value-comparison: Consider using a named constant or an enum instead of ''custom''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L790
  115. too-many-statements: Too many statements (99/50) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L537
  116. import-error: Unable to import 'paho.mqtt.client' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L835
  117. unused-argument: Unused argument 'client_' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L842
  118. unused-argument: Unused argument 'userdata' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L843
  119. unused-argument: Unused argument 'flags' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L844
  120. unused-argument: Unused argument 'properties' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L846
  121. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L868
  122. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L875
  123. suppressed-message: Suppressed 'import-outside-toplevel' (from line 835) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L835
  124. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/sensor.py#L66
  125. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/binary_sensor.py#L32
  126. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/binary_sensor.py#L32
  127. magic-value-comparison: Consider using a named constant or an enum instead of ''enabled''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/binary_sensor.py#L35
  128. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/binary_sensor.py#L41
  129. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/diagnostics.py#L17
  130. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L24
  131. abstract-method: Method 'turn_off' is abstract in class 'ToggleEntity' but is not overridden in child class 'PiHoleSwitch' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L54
  132. abstract-method: Method 'turn_on' is abstract in class 'ToggleEntity' but is not overridden in child class 'PiHoleSwitch' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L54
  133. magic-value-comparison: Consider using a named constant or an enum instead of ''enabled''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L72
  134. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L76
  135. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L97
  136. import-error: Unable to import 'hole' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L8
  137. import-error: Unable to import 'hole.exceptions' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L9
  138. magic-value-comparison: Consider using a named constant or an enum instead of '2'. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L95
  139. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L116
  140. consider-ternary-expression: Consider rewriting as a ternary expression https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L165
  141. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L30
  142. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L30
  143. unexpected-keyword-arg: Unexpected keyword argument 'entity_category' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L30
  144. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L39
  145. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L39
  146. unexpected-keyword-arg: Unexpected keyword argument 'entity_category' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L39
  147. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L48
  148. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L48
  149. unexpected-keyword-arg: Unexpected keyword argument 'entity_category' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L48
  150. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L61
  151. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/cert_expiry/sensor.py#L64
  152. import-error: Unable to import 'boschshcpy' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L9
  153. import-error: Unable to import 'boschshcpy.device' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L10
  154. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L55
  155. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L55
  156. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L55
  157. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L55
  158. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L62
  159. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L62
  160. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L62
  161. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L68
  162. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L68
  163. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L68
  164. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L74
  165. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L74
  166. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L82
  167. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L82
  168. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L87
  169. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L87
  170. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L92
  171. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L92
  172. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L97
  173. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L97
  174. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L102
  175. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L102
  176. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L102
  177. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L108
  178. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L108
  179. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L108
  180. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L108
  181. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L115
  182. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L115
  183. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L115
  184. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L115
  185. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L38
  186. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L38
  187. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L38
  188. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L45
  189. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L45
  190. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L45
  191. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L52
  192. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L52
  193. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L52
  194. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L59
  195. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L59
  196. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L59
  197. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L66
  198. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L66
  199. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L66
  200. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L73
  201. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L73
  202. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L73
  203. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  204. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  205. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  206. unexpected-keyword-arg: Unexpected keyword argument 'entity_registry_enabled_default' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  207. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  208. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  209. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  210. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  211. unexpected-keyword-arg: Unexpected keyword argument 'entity_registry_enabled_default' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  212. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  213. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L98
  214. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L98
  215. unexpected-keyword-arg: Unexpected keyword argument 'entity_registry_enabled_default' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L98
  216. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L109
  217. line-too-long: Line too long (111/100) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L128
  218. too-many-instance-attributes: Too many instance attributes (18/7) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L84
  219. no-member: Instance of 'Sun' has no '_Entity__combined_unrecorded_attributes' member https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L128
  220. magic-value-comparison: Consider using a named constant or an enum instead of '10'. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L238
  221. unused-argument: Unused argument 'now' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L197
  222. redefined-variable-type: Redefinition of self.location.solar_depression type from str to int https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L216
  223. unused-argument: Unused argument 'now' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L268
  224. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/sensor.py#L71
  225. consider-using-assignment-expr: *Use 'if (server_name := user_input[CONF_SERVER_NAME]) != 'Auto Detect':' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/config_flow.py#L64
  226. magic-value-comparison: *Consider using a named constant or an enum instead of ''Auto Detect''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/config_flow.py#L64
  227. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/init.py#L26
  228. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/init.py#L36
  229. import-error: Unable to import 'aiohttp.client_exceptions' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/init.py#L8
  230. import-error: Unable to import 'nettigo_air_monitor' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/init.py#L9
  231. import-error: Unable to import 'aiohttp.client_exceptions' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/coordinator.py#L6
  232. import-error: Unable to import 'nettigo_air_monitor' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/coordinator.py#L7
  233. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/coordinator.py#L49
  234. too-few-public-methods: Too few public methods (0/2) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/coordinator.py#L23
  235. line-too-long: Line too long (113/100) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L271
  236. too-complex: 'async_validate_input_create_entry' is too complex. The McCabe rating is 15 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L161
  237. magic-value-comparison: Consider using a named constant or an enum instead of ''link''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L145
  238. magic-value-comparison: Consider using a named constant or an enum instead of ''reauth_confirm''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L149
  239. magic-value-comparison: Consider using a named constant or an enum instead of ''user''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L151
  240. too-many-locals: Too many local variables (19/15) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L161
  241. too-many-branches: Too many branches (14/12) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L161
  242. too-complex: '_setup_api_requests' is too complex. The McCabe rating is 15 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/common.py#L185
  243. import-error: Unable to import 'synology_dsm' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/common.py#L10
  244. import-error: Unable to import 'synology_dsm.api.core.security' https://github.com/home-assistant/core/blob/ee031f485028...

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

This comment was generated for commit d87ebac49d386bc57e8484755d1eb1c589f7c6de

github-actions[bot] avatar May 05 '24 19:05 github-actions[bot]

Failing ReadTheDocs error seems to be the following

doc/user_guide/messages/warning/implicit-str-concat.rst:55: WARNING: Lexing literal_block '[STRING_CONSTANT]\ncheck-str-concat-over-line-jumps = yes' as "toml" resulted in an error at token: 'y'. Retrying in relaxed mode.

Not sure if I need to change this here

rhyn0 avatar May 05 '24 19:05 rhyn0

πŸ€– Effect of this PR on checked open source code: πŸ€–

Effect on astroid: The following messages are now emitted:

  1. protected-access: Access to a protected member _metaclass_lookup_attribute of a client class https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/manager.py#L462
  2. suppressed-message: Suppressed 'import-outside-toplevel' (from line 442) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/manager.py#L448
  3. line-too-long: Line too long (108/100) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L257
  4. too-complex: 'find_module' is too complex. The McCabe rating is 11 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L129
  5. missing-class-docstring: Missing class docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L31
  6. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L32
  7. too-few-public-methods: Too few public methods (1/2) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L31
  8. too-many-try-statements: try clause contains 5 statements, expected at most 1 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L145
  9. magic-value-comparison: Consider using a named constant or an enum instead of ''distutils''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L197
  10. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L324
  11. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L325
  12. magic-value-comparison: Consider using a named constant or an enum instead of 'b'pkgutil''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L330
  13. magic-value-comparison: Consider using a named constant or an enum instead of 'b'extend_path''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L330
  14. magic-value-comparison: Consider using a named constant or an enum instead of 'b'pkg_resources''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L332
  15. magic-value-comparison: Consider using a named constant or an enum instead of 'b'declare_namespace(name)''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L332
  16. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L337
  17. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L343
  18. confusing-consecutive-elif: Consecutive elif with differing indentation level, consider creating a function to separate the inner elif https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L358
  19. consider-using-f-string: Formatting a regular string which could be an f-string https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L355
  20. consider-using-f-string: Formatting a regular string which could be an f-string https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L360
  21. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L371
  22. consider-using-assignment-expr: Use 'if (meta_finder_name := meta_finder.class.name) not in _MetaPathFinderModuleTypes:' instead https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L391
  23. consider-using-assignment-expr: Use 'if (spec := meta_finder.find_spec(modname, submodule_path)):' instead https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L412
  24. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L448
  25. while-used: Used while loop https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L458

The following messages are no longer emitted:

  1. protected-access: Access to a protected member _metaclass_lookup_attribute of a client class https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/manager.py#L461
  2. line-too-long: Line too long (108/100) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L256
  3. too-complex: 'find_module' is too complex. The McCabe rating is 11 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L128
  4. missing-class-docstring: Missing class docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L30
  5. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L31
  6. too-few-public-methods: Too few public methods (1/2) https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L30
  7. too-many-try-statements: try clause contains 5 statements, expected at most 1 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L144
  8. magic-value-comparison: Consider using a named constant or an enum instead of ''distutils''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L196
  9. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L323
  10. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L324
  11. magic-value-comparison: Consider using a named constant or an enum instead of 'b'pkgutil''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L329
  12. magic-value-comparison: Consider using a named constant or an enum instead of 'b'extend_path''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L329
  13. magic-value-comparison: Consider using a named constant or an enum instead of 'b'pkg_resources''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L331
  14. magic-value-comparison: Consider using a named constant or an enum instead of 'b'declare_namespace(name)''. https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L331
  15. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L336
  16. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L342
  17. confusing-consecutive-elif: Consecutive elif with differing indentation level, consider creating a function to separate the inner elif https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L357
  18. consider-using-f-string: Formatting a regular string which could be an f-string https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L354
  19. consider-using-f-string: Formatting a regular string which could be an f-string https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L359
  20. missing-function-docstring: Missing function or method docstring https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L370
  21. consider-using-assignment-expr: Use 'if (meta_finder_name := meta_finder.class.name) not in _MetaPathFinderModuleTypes:' instead https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L390
  22. consider-using-assignment-expr: Use 'if (spec := meta_finder.find_spec(modname, submodule_path)):' instead https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L411
  23. while-used: Used while loop https://github.com/pylint-dev/astroid/blob/2ec0115432af4b4b3757434defc12de6712f7bb9/astroid/interpreter/_import/spec.py#L452

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

  1. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/diagnostics.py#L17
  2. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L28
  3. abstract-method: Method 'async_browse_media' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  4. abstract-method: Method 'clear_playlist' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  5. abstract-method: Method 'join_players' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  6. abstract-method: Method 'media_next_track' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  7. abstract-method: Method 'media_pause' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  8. abstract-method: Method 'media_play' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  9. abstract-method: Method 'media_previous_track' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  10. abstract-method: Method 'media_seek' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  11. abstract-method: Method 'media_stop' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  12. abstract-method: Method 'mute_volume' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  13. abstract-method: Method 'play_media' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  14. abstract-method: Method 'select_sound_mode' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  15. abstract-method: Method 'select_source' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  16. abstract-method: Method 'set_repeat' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  17. abstract-method: Method 'set_shuffle' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  18. abstract-method: Method 'set_volume_level' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  19. abstract-method: Method 'turn_off' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  20. abstract-method: Method 'turn_on' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  21. abstract-method: Method 'unjoin_player' is abstract in class 'MediaPlayerEntity' but is not overridden in child class 'AndroidTVRemoteMediaPlayerEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L37
  22. too-many-try-statements: try clause contains 3 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/media_player.py#L193
  23. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/init.py#L50
  24. unused-argument: Unused argument 'event' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/init.py#L75
  25. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L30
  26. abstract-method: Method 'delete_command' is abstract in class 'RemoteEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  27. abstract-method: Method 'learn_command' is abstract in class 'RemoteEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  28. abstract-method: Method 'send_command' is abstract in class 'RemoteEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  29. abstract-method: Method 'turn_off' is abstract in class 'ToggleEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  30. abstract-method: Method 'turn_on' is abstract in class 'ToggleEntity' but is not overridden in child class 'AndroidTVRemoteEntity' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L39
  31. consider-using-assignment-expr: Use 'if (activity := kwargs.get(ATTR_ACTIVITY, '')):' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/androidtv_remote/remote.py#L68
  32. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L54
  33. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L54
  34. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L59
  35. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L59
  36. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L59
  37. unexpected-keyword-arg: Unexpected keyword argument 'suggested_display_precision' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L59
  38. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L66
  39. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L66
  40. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L66
  41. unexpected-keyword-arg: Unexpected keyword argument 'entity_registry_enabled_default' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L66
  42. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L73
  43. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L73
  44. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L73
  45. unexpected-keyword-arg: Unexpected keyword argument 'suggested_display_precision' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L73
  46. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L80
  47. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L80
  48. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L80
  49. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L86
  50. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L86
  51. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L86
  52. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L92
  53. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L92
  54. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L92
  55. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L98
  56. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L98
  57. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L103
  58. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L103
  59. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L103
  60. unexpected-keyword-arg: Unexpected keyword argument 'suggested_display_precision' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L103
  61. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L110
  62. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L110
  63. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L110
  64. unexpected-keyword-arg: Unexpected keyword argument 'options' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L110
  65. prefer-typing-namedtuple: Prefer 'typing.NamedTuple' over 'collections.namedtuple' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L119
  66. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/sensor.py#L162
  67. too-complex: 'async_setup_entry' is too complex. The McCabe rating is 14 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L113
  68. import-error: Unable to import 'aiohttp' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L6
  69. import-error: Unable to import 'habitipy.aio' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L7
  70. import-error: Unable to import 'voluptuous' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L8
  71. too-few-public-methods: Too few public methods (1/2) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L116
  72. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/init.py#L134
  73. import-error: Unable to import 'aiohttp' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/coordinator.py#L10
  74. import-error: Unable to import 'habitipy.aio' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/coordinator.py#L11
  75. too-many-try-statements: try clause contains 4 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/habitica/coordinator.py#L48
  76. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bring/init.py#L39
  77. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bring/todo.py#L36
  78. too-many-lines: Too many lines in module (1028/1000) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/sensor.py#L1
  79. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/sensor.py#L961
  80. consider-using-assignment-expr: Use 'if not (runtime_data := _get_runtime_data_from_device_id(hass, device_id)):' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/device_action.py#L53
  81. unused-argument: Unused argument 'variables' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/device_action.py#L45
  82. unused-argument: Unused argument 'context' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/device_action.py#L46
  83. magic-value-comparison: Consider using a named constant or an enum instead of ''entity_id''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/diagnostics.py#L68
  84. too-many-locals: Too many local variables (18/15) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L52
  85. consider-using-assignment-expr: Use 'if (unique_id := _unique_id_from_status(status)) is None:' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L109
  86. consider-ternary-expression: Consider rewriting as a ternary expression https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L112
  87. consider-using-assignment-expr: Use 'if not (serial := _serial_from_status(status)):' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L188
  88. too-many-arguments: Too many arguments (7/5) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nut/init.py#L220
  89. magic-value-comparison: Consider using a named constant or an enum instead of ''name''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L272
  90. magic-value-comparison: Consider using a named constant or an enum instead of ''area''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L275
  91. magic-value-comparison: Consider using a named constant or an enum instead of ''domain''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L278
  92. magic-value-comparison: Consider using a named constant or an enum instead of ''device_class''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L281
  93. magic-value-comparison: Consider using a named constant or an enum instead of ''state''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/conversation/http.py#L284
  94. locally-disabled: Locally disabling import-outside-toplevel (C0415) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L835
  95. too-complex: 'async_step_options' is too complex. The McCabe rating is 12 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L390
  96. too-complex: 'async_get_broker_settings' is too complex. The McCabe rating is 25 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L537
  97. too-complex: 'check_certicate_chain' is too complex. The McCabe rating is 13 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L865
  98. unused-argument: Unused argument 'user_input' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L349
  99. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L418
  100. magic-value-comparison: Consider using a named constant or an enum instead of ''birth_topic''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L434
  101. magic-value-comparison: Consider using a named constant or an enum instead of ''will_topic''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L444
  102. too-many-arguments: Too many arguments (6/5) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L537
  103. too-many-locals: Too many local variables (27/15) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L537
  104. too-many-locals: Too many local variables (16/15) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L558
  105. magic-value-comparison: Consider using a named constant or an enum instead of ''auto''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L569
  106. magic-value-comparison: Consider using a named constant or an enum instead of ''custom''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L571
  107. consider-using-assignment-expr: Use 'if (certificate_id := user_input.get(CONF_CERTIFICATE)):' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L594
  108. too-many-boolean-expressions: Too many boolean expressions in if statement (8/5) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L600
  109. magic-value-comparison: Consider using a named constant or an enum instead of ''custom''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L604
  110. too-many-try-statements: try clause contains 3 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L647
  111. too-many-branches: Too many branches (14/12) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L558
  112. magic-value-comparison: Consider using a named constant or an enum instead of ''off''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L710
  113. magic-value-comparison: Consider using a named constant or an enum instead of ''auto''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L781
  114. magic-value-comparison: Consider using a named constant or an enum instead of ''custom''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L790
  115. too-many-statements: Too many statements (99/50) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L537
  116. import-error: Unable to import 'paho.mqtt.client' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L835
  117. unused-argument: Unused argument 'client_' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L842
  118. unused-argument: Unused argument 'userdata' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L843
  119. unused-argument: Unused argument 'flags' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L844
  120. unused-argument: Unused argument 'properties' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L846
  121. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L868
  122. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L875
  123. suppressed-message: Suppressed 'import-outside-toplevel' (from line 835) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/mqtt/config_flow.py#L835
  124. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/sensor.py#L66
  125. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/binary_sensor.py#L32
  126. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/binary_sensor.py#L32
  127. magic-value-comparison: Consider using a named constant or an enum instead of ''enabled''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/binary_sensor.py#L35
  128. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/binary_sensor.py#L41
  129. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/diagnostics.py#L17
  130. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L24
  131. abstract-method: Method 'turn_off' is abstract in class 'ToggleEntity' but is not overridden in child class 'PiHoleSwitch' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L54
  132. abstract-method: Method 'turn_on' is abstract in class 'ToggleEntity' but is not overridden in child class 'PiHoleSwitch' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L54
  133. magic-value-comparison: Consider using a named constant or an enum instead of ''enabled''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L72
  134. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L76
  135. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/switch.py#L97
  136. import-error: Unable to import 'hole' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L8
  137. import-error: Unable to import 'hole.exceptions' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L9
  138. magic-value-comparison: Consider using a named constant or an enum instead of '2'. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L95
  139. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L116
  140. consider-ternary-expression: Consider rewriting as a ternary expression https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/init.py#L165
  141. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L30
  142. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L30
  143. unexpected-keyword-arg: Unexpected keyword argument 'entity_category' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L30
  144. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L39
  145. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L39
  146. unexpected-keyword-arg: Unexpected keyword argument 'entity_category' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L39
  147. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L48
  148. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L48
  149. unexpected-keyword-arg: Unexpected keyword argument 'entity_category' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L48
  150. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/pi_hole/update.py#L61
  151. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/cert_expiry/sensor.py#L64
  152. import-error: Unable to import 'boschshcpy' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L9
  153. import-error: Unable to import 'boschshcpy.device' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L10
  154. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L55
  155. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L55
  156. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L55
  157. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L55
  158. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L62
  159. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L62
  160. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L62
  161. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L68
  162. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L68
  163. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L68
  164. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L74
  165. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L74
  166. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L82
  167. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L82
  168. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L87
  169. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L87
  170. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L92
  171. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L92
  172. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L97
  173. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L97
  174. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L102
  175. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L102
  176. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L102
  177. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L108
  178. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L108
  179. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L108
  180. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L108
  181. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L115
  182. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L115
  183. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L115
  184. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/bosch_shc/sensor.py#L115
  185. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L38
  186. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L38
  187. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L38
  188. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L45
  189. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L45
  190. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L45
  191. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L52
  192. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L52
  193. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L52
  194. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L59
  195. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L59
  196. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L59
  197. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L66
  198. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L66
  199. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L66
  200. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L73
  201. unexpected-keyword-arg: Unexpected keyword argument 'device_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L73
  202. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L73
  203. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  204. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  205. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  206. unexpected-keyword-arg: Unexpected keyword argument 'entity_registry_enabled_default' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  207. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L80
  208. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  209. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  210. unexpected-keyword-arg: Unexpected keyword argument 'state_class' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  211. unexpected-keyword-arg: Unexpected keyword argument 'entity_registry_enabled_default' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  212. unexpected-keyword-arg: Unexpected keyword argument 'native_unit_of_measurement' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L89
  213. unexpected-keyword-arg: Unexpected keyword argument 'key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L98
  214. unexpected-keyword-arg: Unexpected keyword argument 'translation_key' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L98
  215. unexpected-keyword-arg: Unexpected keyword argument 'entity_registry_enabled_default' in constructor call https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L98
  216. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/sensor.py#L109
  217. line-too-long: Line too long (111/100) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L128
  218. too-many-instance-attributes: Too many instance attributes (18/7) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L84
  219. no-member: Instance of 'Sun' has no '_Entity__combined_unrecorded_attributes' member https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L128
  220. magic-value-comparison: Consider using a named constant or an enum instead of '10'. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L238
  221. unused-argument: Unused argument 'now' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L197
  222. redefined-variable-type: Redefinition of self.location.solar_depression type from str to int https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L216
  223. unused-argument: Unused argument 'now' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/sun/entity.py#L268
  224. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/sensor.py#L71
  225. consider-using-assignment-expr: *Use 'if (server_name := user_input[CONF_SERVER_NAME]) != 'Auto Detect':' instead https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/config_flow.py#L64
  226. magic-value-comparison: *Consider using a named constant or an enum instead of ''Auto Detect''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/config_flow.py#L64
  227. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/init.py#L26
  228. unused-argument: Unused argument 'hass' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/speedtestdotnet/init.py#L36
  229. import-error: Unable to import 'aiohttp.client_exceptions' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/init.py#L8
  230. import-error: Unable to import 'nettigo_air_monitor' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/init.py#L9
  231. import-error: Unable to import 'aiohttp.client_exceptions' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/coordinator.py#L6
  232. import-error: Unable to import 'nettigo_air_monitor' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/coordinator.py#L7
  233. too-many-try-statements: try clause contains 2 statements, expected at most 1 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/coordinator.py#L49
  234. too-few-public-methods: Too few public methods (0/2) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/nam/coordinator.py#L23
  235. line-too-long: Line too long (113/100) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L271
  236. too-complex: 'async_validate_input_create_entry' is too complex. The McCabe rating is 15 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L161
  237. magic-value-comparison: Consider using a named constant or an enum instead of ''link''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L145
  238. magic-value-comparison: Consider using a named constant or an enum instead of ''reauth_confirm''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L149
  239. magic-value-comparison: Consider using a named constant or an enum instead of ''user''. https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L151
  240. too-many-locals: Too many local variables (19/15) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L161
  241. too-many-branches: Too many branches (14/12) https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/config_flow.py#L161
  242. too-complex: '_setup_api_requests' is too complex. The McCabe rating is 15 https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/common.py#L185
  243. import-error: Unable to import 'synology_dsm' https://github.com/home-assistant/core/blob/ee031f485028ef5871d0fce3644d0b6f88351535/homeassistant/components/synology_dsm/common.py#L10
  244. import-error: Unable to import 'synology_dsm.api.core.security' https://github.com/home-assistant/core/blob/ee031f485028...

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

This comment was generated for commit 4d367532a8c9377a743cce785ae8c9f548ba085d

github-actions[bot] avatar May 05 '24 19:05 github-actions[bot]

Not sure if I need to change this here

Good call, let's not block your work on that. If it hasn't been fixed on main yet, please open an issue!

jacobtylerwalls avatar May 09 '24 01:05 jacobtylerwalls

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 3bd7132af5585ca9314357c6306bca72c402ae86

github-actions[bot] avatar May 11 '24 18:05 github-actions[bot]