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

[undefined-variable] Fix a crash for undefined lineno in annotations #9705

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

Pierre-Sassoulas
Copy link
Member

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

Closes #8866

@Pierre-Sassoulas Pierre-Sassoulas added this to the 3.2.4 milestone Jun 6, 2024
@Pierre-Sassoulas Pierre-Sassoulas enabled auto-merge (squash) June 6, 2024 21:02
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 (50716d4) to head (d7823f7).
Report is 133 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9705   +/-   ##
=======================================
  Coverage   95.84%   95.84%           
=======================================
  Files         174      174           
  Lines       18862    18865    +3     
=======================================
+ Hits        18078    18081    +3     
  Misses        784      784           
Files with missing lines Coverage Ξ”
pylint/checkers/variables.py 97.37% <100.00%> (+<0.01%) ⬆️

@Pierre-Sassoulas Pierre-Sassoulas merged commit f082174 into main Jun 6, 2024
48 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the undefined-variable-crash branch June 6, 2024 21:05
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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1408
  2. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1412
  3. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1415
  4. line-too-long:
    Line too long (108/100)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1633
  5. too-many-lines:
    Too many lines in module (1710/1000)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1112
  8. too-many-instance-attributes:
    Too many instance attributes (25/7)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L431
  9. no-self-use:
    Method could be a function
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L637
  10. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L704
  11. no-self-use:
    Method could be a function
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L751
  12. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L947
  13. unidiomatic-typecheck:
    Use isinstance() rather than type() for a typecheck.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1033
  15. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1049
  16. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1112
  17. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1182
  20. too-many-branches:
    Too many branches (13/12)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1296
  22. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1562
  32. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L225
  34. import-error:
    Unable to import 'evohomeasync'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L13
  35. import-error:
    Unable to import 'evohomeasync.schema'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L14
  36. import-error:
    Unable to import 'evohomeasync2'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L15
  37. import-error:
    Unable to import 'evohomeasync2.schema.const'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L16
  38. import-error:
    Unable to import 'voluptuous'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L34
  39. unused-argument:
    Unused argument 'call'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L405
  48. too-many-locals:
    Too many local variables (19/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L452
  50. line-too-long:
    Line too long (101/100)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/coordinator.py#L61
  51. import-error:
    Unable to import 'evohomeasync'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/coordinator.py#L10
  52. import-error:
    Unable to import 'evohomeasync.schema'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/coordinator.py#L11
  53. import-error:
    Unable to import 'evohomeasync2'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/coordinator.py#L12
  54. too-many-instance-attributes:
    Too many instance attributes (10/7)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/coordinator.py#L37
  55. too-many-arguments:
    Too many arguments (6/5)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/coordinator.py#L40
  56. unused-argument:
    Unused argument 'args'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/coordinator.py#L165
  57. unused-argument:
    Unused argument 'args'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/coordinator.py#L181
  58. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L497
  65. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L603
  69. too-many-locals:
    Too many local variables (25/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L654
  73. too-many-branches:
    Too many branches (19/12)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L618
  74. too-many-statements:
    Too many statements (55/50)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L618
  75. unused-argument:
    Unused argument 'hass_components'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L619
  76. unused-argument:
    Unused argument 'event'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L808
  78. redefined-loop-name:
    Redefining 'alias' from loop (line 833)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L835
  80. redefined-loop-name:
    Redefining 'alias' from loop (line 848)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L850
  82. too-many-branches:
    Too many branches (17/12)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L878
  84. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L1047
  87. too-many-branches:
    Too many branches (13/12)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L1047
  88. bad-builtin:
    Used builtin function 'filter'. Using a list comprehension can be clearer.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/knx/climate.py#L317
  89. too-many-instance-attributes:
    Too many instance attributes (10/7)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L175
  90. magic-value-comparison:
    Consider using a named constant or an enum instead of ''hebrew''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L189
  91. 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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L203
  92. magic-value-comparison:
    Consider using a named constant or an enum instead of ''holiday''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L250
  93. magic-value-comparison:
    Consider using a named constant or an enum instead of ''date''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L260
  94. magic-value-comparison:
    Consider using a named constant or an enum instead of ''weekly_portion''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L262
  95. magic-value-comparison:
    Consider using a named constant or an enum instead of ''holiday''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L265
  96. magic-value-comparison:
    Consider using a named constant or an enum instead of ''omer_count''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L272
  97. magic-value-comparison:
    Consider using a named constant or an enum instead of ''daf_yomi''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L274
  98. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_shabbat_candle_lighting''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L289
  99. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_candle_lighting''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L294
  100. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_shabbat_havdalah''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L299
  101. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_havdalah''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L302
  102. import-error:
    Unable to import 'aioaquacell'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L8
  103. unexpected-keyword-arg:
    Unexpected keyword argument 'key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L36
  104. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L36
  105. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L36
  106. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L36
  107. unexpected-keyword-arg:
    Unexpected keyword argument 'key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L43
  108. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L43
  109. unexpected-keyword-arg:
    Unexpected keyword argument 'state_class' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L43
  110. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L43
  111. unexpected-keyword-arg:
    Unexpected keyword argument 'key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L50
  112. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L50
  113. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L50
  114. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L50
  115. unexpected-keyword-arg:
    Unexpected keyword argument 'key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L57
  116. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L57
  117. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L57
  118. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L57
  119. unexpected-keyword-arg:
    Unexpected keyword argument 'key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L64
  120. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L64
  121. unexpected-keyword-arg:
    Unexpected keyword argument 'native_unit_of_measurement' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L64
  122. unexpected-keyword-arg:
    Unexpected keyword argument 'key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L70
  123. unexpected-keyword-arg:
    Unexpected keyword argument 'translation_key' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L70
  124. unexpected-keyword-arg:
    Unexpected keyword argument 'device_class' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L70
  125. unexpected-keyword-arg:
    Unexpected keyword argument 'options' in constructor call
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L70
  126. unused-argument:
    Unused argument 'hass'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/sensor.py#L85
  127. import-error:
    Unable to import 'aioaquacell'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/__init__.py#L5
  128. locally-disabled:
    Locally disabling broad-exception-caught (W0718)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/config_flow.py#L54
  129. import-error:
    Unable to import 'aioaquacell'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/config_flow.py#L9
  130. import-error:
    Unable to import 'voluptuous'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/config_flow.py#L10
  131. suppressed-message:
    Suppressed 'broad-exception-caught' (from line 54)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/config_flow.py#L54
  132. import-error:
    Unable to import 'aioaquacell'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/entity.py#L3
  133. import-error:
    Unable to import 'aioaquacell'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/coordinator.py#L7
  134. too-many-try-statements:
    try clause contains 4 statements, expected at most 1
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/aquacell/coordinator.py#L65

The following messages are no longer emitted:

  1. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1400
  2. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1404
  3. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1407
  4. line-too-long:
    Line too long (108/100)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1625
  5. too-many-lines:
    Too many lines in module (1702/1000)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1104
  8. too-many-instance-attributes:
    Too many instance attributes (24/7)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L431
  9. no-self-use:
    Method could be a function
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L633
  10. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L700
  11. no-self-use:
    Method could be a function
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L747
  12. broad-exception-caught:
    Catching too general exception Exception
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L943
  13. unidiomatic-typecheck:
    Use isinstance() rather than type() for a typecheck.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1025
  15. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1041
  16. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1104
  17. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1174
  20. too-many-branches:
    Too many branches (13/12)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1288
  22. while-used:
    Used while loop
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1554
  32. too-few-public-methods:
    Too few public methods (0/2)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/helpers/entity.py#L1640
  33. line-too-long:
    Line too long (101/100)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L227
  35. import-error:
    Unable to import 'evohomeasync'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L14
  36. import-error:
    Unable to import 'evohomeasync.schema'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L15
  37. import-error:
    Unable to import 'evohomeasync2'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L16
  38. import-error:
    Unable to import 'evohomeasync2.schema.const'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L17
  39. import-error:
    Unable to import 'voluptuous'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L35
  40. unused-argument:
    Unused argument 'call'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L310
  47. too-many-instance-attributes:
    Too many instance attributes (10/7)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L345
  48. too-many-arguments:
    Too many arguments (6/5)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L348
  49. unused-argument:
    Unused argument 'args'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L471
  50. unused-argument:
    Unused argument 'args'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L562
  53. too-many-locals:
    Too many local variables (19/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/evohome/__init__.py#L609
  55. empty-comment:
    Line with empty comment
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L490
  62. too-many-locals:
    Too many local variables (17/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L596
  66. too-many-locals:
    Too many local variables (25/15)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L647
  70. too-many-branches:
    Too many branches (19/12)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L611
  71. too-many-statements:
    Too many statements (55/50)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L611
  72. unused-argument:
    Unused argument 'hass_components'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L612
  73. unused-argument:
    Unused argument 'event'
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L801
  75. redefined-loop-name:
    Redefining 'alias' from loop (line 826)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L828
  77. redefined-loop-name:
    Redefining 'alias' from loop (line 841)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L843
  79. too-many-branches:
    Too many branches (17/12)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L871
  81. consider-ternary-expression:
    Consider rewriting as a ternary expression
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L1040
  84. too-many-branches:
    Too many branches (13/12)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/conversation/default_agent.py#L1040
  85. bad-builtin:
    Used builtin function 'filter'. Using a list comprehension can be clearer.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/knx/climate.py#L320
  86. too-many-instance-attributes:
    Too many instance attributes (10/7)
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L170
  87. magic-value-comparison:
    Consider using a named constant or an enum instead of ''hebrew''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L184
  88. 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/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L198
  89. magic-value-comparison:
    Consider using a named constant or an enum instead of ''holiday''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L245
  90. magic-value-comparison:
    Consider using a named constant or an enum instead of ''date''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L255
  91. magic-value-comparison:
    Consider using a named constant or an enum instead of ''weekly_portion''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L257
  92. magic-value-comparison:
    Consider using a named constant or an enum instead of ''holiday''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L260
  93. magic-value-comparison:
    Consider using a named constant or an enum instead of ''omer_count''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L267
  94. magic-value-comparison:
    Consider using a named constant or an enum instead of ''daf_yomi''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L269
  95. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_shabbat_candle_lighting''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L284
  96. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_candle_lighting''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L289
  97. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_shabbat_havdalah''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/homeassistant/components/jewish_calendar/sensor.py#L294
  98. magic-value-comparison:
    Consider using a named constant or an enum instead of ''upcoming_havdalah''.
    https://github.com/home-assistant/core/blob/a7429e5f50a7b2de867af4b57533a37098f869e3/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. ...

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

This comment was generated for commit d7823f7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pylint crashed with a AstroidError
2 participants