Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unnecessary-list-index-lookup] Fix crashes for uninferrable 'start' value in 'enumerate' #9704

Merged
merged 3 commits into from
Jun 6, 2024

Conversation

Pierre-Sassoulas
Copy link
Member

Type of Changes

Type
🐛 Bug fix

Description

Closes #9078

@Pierre-Sassoulas Pierre-Sassoulas added this to the 3.2.4 milestone Jun 6, 2024
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.84%. Comparing base (ea73bae) to head (39459c2).
Report is 139 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9704   +/-   ##
=======================================
  Coverage   95.84%   95.84%           
=======================================
  Files         174      174           
  Lines       18862    18862           
=======================================
+ Hits        18078    18079    +1     
+ Misses        784      783    -1     
Files with missing lines Coverage Δ
pylint/checkers/refactoring/refactoring_checker.py 98.37% <100.00%> (+0.10%) ⬆️

This comment has been minimized.

@Pierre-Sassoulas Pierre-Sassoulas enabled auto-merge (squash) June 6, 2024 21:04
@Pierre-Sassoulas Pierre-Sassoulas merged commit 9f8dcbd into main Jun 6, 2024
44 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the unnecessary-list-index-lookup-crash branch June 6, 2024 21:15
github-actions bot pushed a commit that referenced this pull request Jun 6, 2024
…value in 'enumerate' (#9704)

---------

Co-authored-by: Daniël van Noord <[email protected]>
(cherry picked from commit 9f8dcbd)
Copy link
Contributor

github-actions bot commented Jun 6, 2024

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

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

  1. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1408
  2. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1412
  3. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1415
  4. line-too-long:
    Line too long (108/100)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1633
  5. too-many-lines:
    Too many lines in module (1710/1000)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1
  6. too-complex:
    '__async_calculate_state' is too complex. The McCabe rating is 12
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1049
  7. too-complex:
    '_async_write_ha_state' is too complex. The McCabe rating is 15
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1112
  8. too-many-instance-attributes:
    Too many instance attributes (25/7)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L431
  9. no-self-use:
    Method could be a function
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L637
  10. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L704
  11. no-self-use:
    Method could be a function
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L751
  12. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L947
  13. unidiomatic-typecheck:
    Use isinstance() rather than type() for a typecheck.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1017
  14. consider-using-assignment-expr:
    Use 'if (name := self.name) is UNDEFINED:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1033
  15. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1049
  16. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1112
  17. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1160
  18. magic-value-comparison:
    Consider using a named constant or an enum instead of '3600'.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1160
  19. magic-value-comparison:
    Consider using a named constant or an enum instead of '0.4'.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1182
  20. too-many-branches:
    Too many branches (13/12)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1112
  21. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1296
  22. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1346
  23. magic-value-comparison:
    Consider using a named constant or an enum instead of ''custom_components''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1447
  24. magic-value-comparison:
    Consider using a named constant or an enum instead of ''remove''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1493
  25. magic-value-comparison:
    Consider using a named constant or an enum instead of ''update''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1495
  26. magic-value-comparison:
    Consider using a named constant or an enum instead of ''remove''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1505
  27. magic-value-comparison:
    Consider using a named constant or an enum instead of ''update''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1510
  28. magic-value-comparison:
    Consider using a named constant or an enum instead of ''device_id''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1513
  29. magic-value-comparison:
    Consider using a named constant or an enum instead of ''update''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1559
  30. magic-value-comparison:
    Consider using a named constant or an enum instead of ''name''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1562
  31. magic-value-comparison:
    Consider using a named constant or an enum instead of ''name_by_user''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1562
  32. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1648
  33. too-complex:
    'setup_service_functions' is too complex. The McCabe rating is 11
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L225
  34. import-error:
    Unable to import 'evohomeasync'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L13
  35. import-error:
    Unable to import 'evohomeasync.schema'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L14
  36. import-error:
    Unable to import 'evohomeasync2'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L15
  37. import-error:
    Unable to import 'evohomeasync2.schema.const'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L16
  38. import-error:
    Unable to import 'voluptuous'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L34
  39. unused-argument:
    Unused argument 'call'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L236
  40. magic-value-comparison:
    Consider using a named constant or an enum instead of ''climate''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L261
  41. consider-using-assignment-expr:
    Use 'if (perm_modes := [m[SZ_SYSTEM_MODE] for m in modes if not m[SZ_CAN_BE_TEMPORARY]]):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L286
  42. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Duration''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L293
  43. consider-using-assignment-expr:
    Use 'if (temp_modes := [m[SZ_SYSTEM_MODE] for m in modes if m[SZ_TIMING_MODE] == 'Duration']):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L294
  44. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Period''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L307
  45. consider-using-assignment-expr:
    Use 'if (temp_modes := [m[SZ_SYSTEM_MODE] for m in modes if m[SZ_TIMING_MODE] == 'Period']):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L308
  46. abstract-method:
    Method 'async_tcs_svc_request' is abstract in class 'EvoDevice' but is not overridden in child class 'EvoChild'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L405
  47. abstract-method:
    Method 'async_zone_svc_request' is abstract in class 'EvoDevice' but is not overridden in child class 'EvoChild'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L405
  48. too-many-locals:
    Too many local variables (19/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L434
  49. too-many-try-statements:
    try clause contains 16 statements, expected at most 1
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L452
  50. line-too-long:
    Line too long (101/100)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/coordinator.py#L61
  51. import-error:
    Unable to import 'evohomeasync'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/coordinator.py#L10
  52. import-error:
    Unable to import 'evohomeasync.schema'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/coordinator.py#L11
  53. import-error:
    Unable to import 'evohomeasync2'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/coordinator.py#L12
  54. too-many-instance-attributes:
    Too many instance attributes (10/7)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/coordinator.py#L37
  55. too-many-arguments:
    Too many arguments (6/5)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/coordinator.py#L40
  56. unused-argument:
    Unused argument 'args'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/coordinator.py#L165
  57. unused-argument:
    Unused argument 'args'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/coordinator.py#L181
  58. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L790
  59. too-many-lines:
    Too many lines in module (1145/1000)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L1
  60. too-complex:
    '_get_or_load_intents' is too complex. The McCabe rating is 17
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L618
  61. too-complex:
    '_make_slot_lists' is too complex. The McCabe rating is 18
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L777
  62. too-complex:
    '_get_match_error_response' is too complex. The McCabe rating is 14
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L1047
  63. magic-value-comparison:
    Consider using a named constant or an enum instead of ''name''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L435
  64. magic-value-comparison:
    Consider using a named constant or an enum instead of ''name''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L497
  65. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L509
  66. consider-using-assignment-expr:
    Use 'if (state_copy := core.State.from_dict(state.as_dict())) is not None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L521
  67. consider-using-assignment-expr:
    Use 'if (state_copy := core.State.from_dict(state.as_dict())) is not None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L527
  68. consider-using-assignment-expr:
    Use 'if (lang_intents := await self.async_get_or_load_intents(language)) is None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L603
  69. too-many-locals:
    Too many local variables (25/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L618
  70. consider-using-assignment-expr:
    Use 'if (lang_intents := self._lang_intents.get(language)) is None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L624
  71. consider-using-assignment-expr:
    Use 'if (matching_variant := all_language_variants.get(maybe_variant.lower())):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L641
  72. consider-using-assignment-expr:
    Use 'if (lang_variant_intents := get_intents(language_variant, json_load=json_load)):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L654
  73. too-many-branches:
    Too many branches (19/12)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L618
  74. too-many-statements:
    Too many statements (55/50)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L618
  75. unused-argument:
    Unused argument 'hass_components'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L619
  76. unused-argument:
    Unused argument 'event'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L768
  77. consider-using-assignment-expr:
    Use 'if not (entity := entity_registry.async_get(state.entity_id)):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L808
  78. redefined-loop-name:
    Redefining 'alias' from loop (line 833)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L834
  79. consider-using-assignment-expr:
    Use 'if not (alias := alias.strip()):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L835
  80. redefined-loop-name:
    Redefining 'alias' from loop (line 848)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L849
  81. consider-using-assignment-expr:
    Use 'if not (alias := alias.strip()):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L850
  82. too-many-branches:
    Too many branches (17/12)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L777
  83. consider-using-assignment-expr:
    Use 'if (device_area := areas.async_get_area(device.area_id)) is None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L878
  84. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L893
  85. consider-using-assignment-expr:
    Use 'if (trigger_id := int(result.intent.name)) in matched_triggers:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L976
  86. too-many-return-statements:
    Too many return statements (13/6)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L1047
  87. too-many-branches:
    Too many branches (13/12)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L1047
  88. too-many-instance-attributes:
    Too many instance attributes (10/7)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L175
  89. magic-value-comparison:
    Consider using a named constant or an enum instead of ''hebrew''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L189
  90. consider-using-assignment-expr:
    Use 'if (event_date := get_astral_event_date(self.hass, SUN_EVENT_SUNSET, today)) is None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L203
  91. magic-value-comparison:
    Consider using a named constant or an enum instead of ''holiday''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L250
  92. magic-value-comparison:
    Consider using a named constant or an enum instead of ''date''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L260
  93. magic-value-comparison:
    Consider using a named constant or an enum instead of ''weekly_portion''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L262
  94. magic-value-comparison:
    Consider using a named constant or an enum instead of ''holiday''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L265
  95. magic-value-comparison:
    Consider using a named constant or an enum instead of ''omer_count''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L272
  96. magic-value-comparison:
    Consider using a named constant or an enum instead of ''daf_yomi''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L274
  97. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_shabbat_candle_lighting''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L289
  98. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_candle_lighting''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L294
  99. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_shabbat_havdalah''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L299
  100. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_havdalah''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L302

The following messages are no longer emitted:

  1. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1400
  2. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1404
  3. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1407
  4. line-too-long:
    Line too long (108/100)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1625
  5. too-many-lines:
    Too many lines in module (1702/1000)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1
  6. too-complex:
    '__async_calculate_state' is too complex. The McCabe rating is 12
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1041
  7. too-complex:
    '_async_write_ha_state' is too complex. The McCabe rating is 15
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1104
  8. too-many-instance-attributes:
    Too many instance attributes (24/7)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L431
  9. no-self-use:
    Method could be a function
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L633
  10. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L700
  11. no-self-use:
    Method could be a function
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L747
  12. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L943
  13. unidiomatic-typecheck:
    Use isinstance() rather than type() for a typecheck.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1009
  14. consider-using-assignment-expr:
    Use 'if (name := self.name) is UNDEFINED:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1025
  15. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1041
  16. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1104
  17. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1152
  18. magic-value-comparison:
    Consider using a named constant or an enum instead of '3600'.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1152
  19. magic-value-comparison:
    Consider using a named constant or an enum instead of '0.4'.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1174
  20. too-many-branches:
    Too many branches (13/12)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1104
  21. too-many-try-statements:
    try clause contains 2 statements, expected at most 1
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1288
  22. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1338
  23. magic-value-comparison:
    Consider using a named constant or an enum instead of ''custom_components''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1439
  24. magic-value-comparison:
    Consider using a named constant or an enum instead of ''remove''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1485
  25. magic-value-comparison:
    Consider using a named constant or an enum instead of ''update''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1487
  26. magic-value-comparison:
    Consider using a named constant or an enum instead of ''remove''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1497
  27. magic-value-comparison:
    Consider using a named constant or an enum instead of ''update''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1502
  28. magic-value-comparison:
    Consider using a named constant or an enum instead of ''device_id''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1505
  29. magic-value-comparison:
    Consider using a named constant or an enum instead of ''update''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1551
  30. magic-value-comparison:
    Consider using a named constant or an enum instead of ''name''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1554
  31. magic-value-comparison:
    Consider using a named constant or an enum instead of ''name_by_user''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1554
  32. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/helpers/entity.py#L1640
  33. line-too-long:
    Line too long (101/100)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L367
  34. too-complex:
    'setup_service_functions' is too complex. The McCabe rating is 11
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L227
  35. import-error:
    Unable to import 'evohomeasync'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L14
  36. import-error:
    Unable to import 'evohomeasync.schema'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L15
  37. import-error:
    Unable to import 'evohomeasync2'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L16
  38. import-error:
    Unable to import 'evohomeasync2.schema.const'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L17
  39. import-error:
    Unable to import 'voluptuous'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L35
  40. unused-argument:
    Unused argument 'call'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L238
  41. magic-value-comparison:
    Consider using a named constant or an enum instead of ''climate''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L263
  42. consider-using-assignment-expr:
    Use 'if (perm_modes := [m[SZ_SYSTEM_MODE] for m in modes if not m[SZ_CAN_BE_TEMPORARY]]):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L288
  43. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Duration''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L295
  44. consider-using-assignment-expr:
    Use 'if (temp_modes := [m[SZ_SYSTEM_MODE] for m in modes if m[SZ_TIMING_MODE] == 'Duration']):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L296
  45. magic-value-comparison:
    Consider using a named constant or an enum instead of ''Period''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L309
  46. consider-using-assignment-expr:
    Use 'if (temp_modes := [m[SZ_SYSTEM_MODE] for m in modes if m[SZ_TIMING_MODE] == 'Period']):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L310
  47. too-many-instance-attributes:
    Too many instance attributes (10/7)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L345
  48. too-many-arguments:
    Too many arguments (6/5)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L348
  49. unused-argument:
    Unused argument 'args'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L471
  50. unused-argument:
    Unused argument 'args'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L487
  51. abstract-method:
    Method 'async_tcs_svc_request' is abstract in class 'EvoDevice' but is not overridden in child class 'EvoChild'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L562
  52. abstract-method:
    Method 'async_zone_svc_request' is abstract in class 'EvoDevice' but is not overridden in child class 'EvoChild'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L562
  53. too-many-locals:
    Too many local variables (19/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L591
  54. too-many-try-statements:
    try clause contains 16 statements, expected at most 1
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/evohome/__init__.py#L609
  55. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L783
  56. too-many-lines:
    Too many lines in module (1138/1000)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L1
  57. too-complex:
    '_get_or_load_intents' is too complex. The McCabe rating is 17
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L611
  58. too-complex:
    '_make_slot_lists' is too complex. The McCabe rating is 18
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L770
  59. too-complex:
    '_get_match_error_response' is too complex. The McCabe rating is 14
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L1040
  60. magic-value-comparison:
    Consider using a named constant or an enum instead of ''name''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L432
  61. magic-value-comparison:
    Consider using a named constant or an enum instead of ''name''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L490
  62. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L502
  63. consider-using-assignment-expr:
    Use 'if (state_copy := core.State.from_dict(state.as_dict())) is not None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L514
  64. consider-using-assignment-expr:
    Use 'if (state_copy := core.State.from_dict(state.as_dict())) is not None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L520
  65. consider-using-assignment-expr:
    Use 'if (lang_intents := await self.async_get_or_load_intents(language)) is None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L596
  66. too-many-locals:
    Too many local variables (25/15)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L611
  67. consider-using-assignment-expr:
    Use 'if (lang_intents := self._lang_intents.get(language)) is None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L617
  68. consider-using-assignment-expr:
    Use 'if (matching_variant := all_language_variants.get(maybe_variant.lower())):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L634
  69. consider-using-assignment-expr:
    Use 'if (lang_variant_intents := get_intents(language_variant, json_load=json_load)):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L647
  70. too-many-branches:
    Too many branches (19/12)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L611
  71. too-many-statements:
    Too many statements (55/50)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L611
  72. unused-argument:
    Unused argument 'hass_components'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L612
  73. unused-argument:
    Unused argument 'event'
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L761
  74. consider-using-assignment-expr:
    Use 'if not (entity := entity_registry.async_get(state.entity_id)):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L801
  75. redefined-loop-name:
    Redefining 'alias' from loop (line 826)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L827
  76. consider-using-assignment-expr:
    Use 'if not (alias := alias.strip()):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L828
  77. redefined-loop-name:
    Redefining 'alias' from loop (line 841)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L842
  78. consider-using-assignment-expr:
    Use 'if not (alias := alias.strip()):' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L843
  79. too-many-branches:
    Too many branches (17/12)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L770
  80. consider-using-assignment-expr:
    Use 'if (device_area := areas.async_get_area(device.area_id)) is None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L871
  81. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L886
  82. consider-using-assignment-expr:
    Use 'if (trigger_id := int(result.intent.name)) in matched_triggers:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L969
  83. too-many-return-statements:
    Too many return statements (13/6)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L1040
  84. too-many-branches:
    Too many branches (13/12)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/conversation/default_agent.py#L1040
  85. too-many-instance-attributes:
    Too many instance attributes (10/7)
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L170
  86. magic-value-comparison:
    Consider using a named constant or an enum instead of ''hebrew''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L184
  87. consider-using-assignment-expr:
    Use 'if (event_date := get_astral_event_date(self.hass, SUN_EVENT_SUNSET, today)) is None:' instead
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L198
  88. magic-value-comparison:
    Consider using a named constant or an enum instead of ''holiday''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L245
  89. magic-value-comparison:
    Consider using a named constant or an enum instead of ''date''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L255
  90. magic-value-comparison:
    Consider using a named constant or an enum instead of ''weekly_portion''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L257
  91. magic-value-comparison:
    Consider using a named constant or an enum instead of ''holiday''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L260
  92. magic-value-comparison:
    Consider using a named constant or an enum instead of ''omer_count''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L267
  93. magic-value-comparison:
    Consider using a named constant or an enum instead of ''daf_yomi''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L269
  94. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_shabbat_candle_lighting''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L284
  95. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_candle_lighting''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L289
  96. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_shabbat_havdalah''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L294
  97. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_havdalah''.
    https://github.com/home-assistant/core/blob/ec3a976410fbcb69b689fa6063db0b3f495a142f/homeassistant/components/jewish_calendar/sensor.py#L297

Effect on pandas:
The following messages are now emitted:

  1. too-many-lines:
    Too many lines in module (2504/1000)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1
  2. fixme:
    TODO: this could be wrong if blk.mgr_locs is not slice(None)-like;
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1111
  3. fixme:
    TODO: use object dtype as workaround for non-performant
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1131
  4. fixme:
    FIXME: refactor, clearly separate broadcasting & zip-like assignment
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1220
  5. fixme:
    TODO: fastest way to check this?
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1247
  6. fixme:
    TODO this method is only used in groupby SeriesSplitter at the moment,
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2110
  7. fixme:
    TODO: optimization potential in case all mgrs contain slices and
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2421
  8. fixme:
    TODO: no tests get here, a handful would if we disabled
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2490
  9. too-complex:
    '_slice_take_blocks_ax0' is too complex. The McCabe rating is 16
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L854
  10. too-complex:
    'iset' is too complex. The McCabe rating is 17
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1208
  11. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L823
  12. protected-access:
    Access to a protected member _blknos of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L850
  13. protected-access:
    Access to a protected member _blklocs of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L851
  14. too-many-arguments:
    Too many arguments (6/5)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L854
  15. too-many-locals:
    Too many local variables (26/15)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L854
  16. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L854
  17. no-else-return:
    Unnecessary "elif" after "return", remove the leading "el" from "elif"
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L893
  18. magic-value-comparison:
    Consider using a named constant or an enum instead of ''slice''.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L893
  19. use-implicit-booleaness-not-comparison-to-zero:
    "sllen == 0" can be simplified to "not sllen", if it is strictly an int, as 0 is falsey
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L896
  20. magic-value-comparison:
    Consider using a named constant or an enum instead of ''slice''.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L924
  21. protected-access:
    Access to a protected member _can_consolidate of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L951
  22. protected-access:
    Access to a protected member _validate_ndim of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L951
  23. too-many-branches:
    Too many branches (20/12)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L854
  24. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1010
  25. docstring-first-line-empty:
    First line empty in class docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1043
  26. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1089
  27. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1098
  28. protected-access:
    Access to a protected member _from_sequence of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1148
  29. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1154
  30. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1168
  31. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1181
  32. protected-access:
    Access to a protected member _mgr_locs of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1194
  33. protected-access:
    Access to a protected member _values_for_json of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1195
  34. too-many-locals:
    Too many local variables (23/15)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1208
  35. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1208
  36. consider-using-assignment-expr:
    Use 'if not (value_is_extension_type := is_1d_only_ea_dtype(value.dtype)):' instead
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1227
  37. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1228
  38. protected-access:
    Access to a protected member _mgr_locs of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1247
  39. unused-argument:
    Unused argument 'placement'
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1265
  40. no-else-continue:
    Unnecessary "else" after "continue", remove the "else" and de-indent the code inside it
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1297
  41. use-implicit-booleaness-not-len:
    Do not use len(SEQUENCE) without comparison to determine if a sequence is empty
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1304
  42. too-many-branches:
    Too many branches (20/12)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1208
  43. too-many-statements:
    Too many statements (63/50)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1208
  44. inconsistent-return-statements:
    Either all return statements in a function should return an expression, or none of them should.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1208
  45. too-many-arguments:
    Too many arguments (7/5)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1407
  46. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1407
  47. protected-access:
    Access to a protected member _mgr_locs of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1431
  48. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1437
  49. protected-access:
    Access to a protected member _block of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1467
  50. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1469
  51. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1482
  52. use-implicit-booleaness-not-len:
    Do not use len(SEQUENCE) without comparison to determine if a sequence is empty
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1494
  53. magic-value-comparison:
    Consider using a named constant or an enum instead of '100'.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1509
  54. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1520
  55. protected-access:
    Access to a protected member _mgr_locs of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1530
  56. protected-access:
    Access to a protected member _mgr_locs of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1530
  57. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1532
  58. use-implicit-booleaness-not-comparison-to-zero:
    "loc == 0" can be simplified to "not loc", if it is strictly an int, as 0 is falsey
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1543
  59. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1554
  60. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1570
  61. protected-access:
    Access to a protected member _split of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1588
  62. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1595
  63. use-implicit-booleaness-not-comparison-to-zero:
    "len(result_blocks) == 0" can be simplified to "not len(result_blocks)", if it is strictly an int, as 0 is falsey
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1595
  64. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1603
  65. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1616
  66. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1627
  67. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1633
  68. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1640
  69. magic-value-comparison:
    Consider using a named constant or an enum instead of '2'.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1662
  70. too-many-locals:
    Too many local variables (18/15)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1676
  71. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1676
  72. consider-using-assignment-expr:
    Use 'if (allow_fill := not unstacker.mask_all):' instead
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1694
  73. invalid-name:
    Variable name "new_mask2D" doesn't conform to snake_case naming style
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1697
  74. use-implicit-booleaness-not-comparison-to-zero:
    "len(self.items) == 0" can be simplified to "not len(self.items)", if it is strictly an int, as 0 is falsey
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1705
  75. protected-access:
    Access to a protected member _unstack of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1716
  76. protected-access:
    Access to a protected member _mgr_locs of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1727
  77. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1737
  78. unnecessary-lambda-assignment:
    Lambda expression assigned to a variable. Define a function using the "def" keyword instead.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1745
  79. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1750
  80. use-implicit-booleaness-not-comparison-to-zero:
    "len(self.blocks) == 0" can be simplified to "not len(self.blocks)", if it is strictly an int, as 0 is falsey
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1776
  81. magic-value-comparison:
    Consider using a named constant or an enum instead of ''f''.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1817
  82. too-many-branches:
    Too many branches (13/12)
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1750
  83. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1824
  84. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1859
  85. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1881
  86. protected-access:
    Access to a protected member _can_consolidate of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1895
  87. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1914
  88. protected-access:
    Access to a protected member _mgr_locs of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1926
  89. protected-access:
    Access to a protected member _mgr_locs of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1926
  90. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1935
  91. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1968
  92. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1981
  93. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L1992
  94. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2003
  95. magic-value-comparison:
    Consider using a named constant or an enum instead of '4'.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2041
  96. magic-value-comparison:
    Consider using a named constant or an enum instead of ''0.14.1''.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2041
  97. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2063
  98. missing-function-docstring:
    Missing function or method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2081
  99. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2088
  100. magic-value-comparison:
    Consider using a named constant or an enum instead of ''b''.
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2088
  101. missing-function-docstring:
    Missing function or method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2101
  102. protected-access:
    Access to a protected member _getitem_slice of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2113
  103. missing-function-docstring:
    Missing function or method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2117
  104. missing-function-docstring:
    Missing function or method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2121
  105. protected-access:
    Access to a protected member _can_hold_na of a client class
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2146
  106. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2148
  107. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2176
  108. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2188
  109. docstring-first-line-empty:
    First line empty in method docstring
    https://github.com/pandas-dev/pandas/blob/d969dd805079e28e1e4d7342e306f59348673ab1/pandas/core/internals/managers.py#L2195
  110. protected-access:
    *Access to a pro...

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

This comment was generated for commit 39459c2

Pierre-Sassoulas added a commit that referenced this pull request Jun 6, 2024
…value in 'enumerate' (#9704) (#9707)

---------

Co-authored-by: Daniël van Noord <[email protected]>
(cherry picked from commit 9f8dcbd)

Co-authored-by: Pierre Sassoulas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport maintenance/3.3.x Crash 💥 A bug that makes pylint crash
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash on enumerate(x, int(y))
2 participants