pylint icon indicating copy to clipboard operation
pylint copied to clipboard

Emit `used-before-assignment` after if/else switches

Open jacobtylerwalls opened this issue 2 years ago • 7 comments

Type of Changes

Type
:sparkles: New feature

Description

Closes #1727

jacobtylerwalls avatar Aug 13 '23 17:08 jacobtylerwalls

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

Effect on astroid: The following messages are now emitted:

  1. used-before-assignment: Using variable 'iattrs' before assignment https://github.com/pylint-dev/astroid/blob/dab733571fee2e52b90febd6610f2ac1dcdb6861/astroid/builder.py#L263
  2. used-before-assignment: Using variable 'targets' before assignment https://github.com/pylint-dev/astroid/blob/dab733571fee2e52b90febd6610f2ac1dcdb6861/astroid/brain/brain_namedtuple_enum.py#L431
  3. used-before-assignment: Using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/dab733571fee2e52b90febd6610f2ac1dcdb6861/astroid/nodes/node_classes.py#L1074

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

  1. used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/helpers/update_coordinator.py#L378
  2. used-before-assignment: Using variable 'event' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/helpers/collection.py#L220
  3. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alert/reproduce_state.py#L53
  4. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/mysensors/climate.py#L176
  5. used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/rflink/init.py#L547
  6. used-before-assignment: Using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/recorder/system_health/init.py#L74
  7. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/water_heater/device_action.py#L78
  8. used-before-assignment: Using variable 'item_id' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L112
  9. used-before-assignment: Using variable 'item_name' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L126
  10. used-before-assignment: Using variable 'item_coordinator' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L134
  11. used-before-assignment: Using variable 'item_device_name' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L137
  12. used-before-assignment: Using variable 'item_manufacturer' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L138
  13. used-before-assignment: Using variable 'item_model' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L139
  14. used-before-assignment: Using variable 'item_is_dimmer' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L141
  15. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_trigger.py#L164
  16. used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_trigger.py#L181
  17. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_action.py#L155
  18. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/reproduce_state.py#L87
  19. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_condition.py#L144
  20. used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_condition.py#L161
  21. used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/emulated_kasa/init.py#L141
  22. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/vacuum/device_action.py#L77
  23. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/vacuum/reproduce_state.py#L87
  24. used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/dialogflow/init.py#L91
  25. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/omnilogic/sensor.py#L163
  26. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/plex/media_browser.py#L168
  27. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/script/config.py#L133
  28. used-before-assignment: Using variable 'mac' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/unifi/controller.py#L292
  29. used-before-assignment: Using variable 'descriptions' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/tradfri/sensor.py#L162
  30. used-before-assignment: Using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/otbr/websocket_api.py#L157
  31. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/switch/reproduce_state.py#L55
  32. used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/dynalite/init.py#L77
  33. used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/tado/sensor.py#L286
  34. used-before-assignment: Using variable 'data' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/thread/dataset_store.py#L160
  35. used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/awair/config_flow.py#L187
  36. used-before-assignment: Using variable 'main_processor_info' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/hunterdouglas_powerview/init.py#L134
  37. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/remote/reproduce_state.py#L55
  38. used-before-assignment: Using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/remote_rpi_gpio/init.py#L38
  39. used-before-assignment: Using variable 'sensor_name' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/tellstick/sensor.py#L147
  40. used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/itunes/media_player.py#L75
  41. used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/neato/camera.py#L96
  42. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/roon/media_player.py#L167
  43. used-before-assignment: Using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/google_assistant/trait.py#L680
  44. used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/wemo/fan.py#L166
  45. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/automation/reproduce_state.py#L55
  46. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/automation/config.py#L102
  47. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/climate/device_action.py#L98
  48. used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/homeassistant/triggers/time.py#L106
  49. used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/homeassistant/triggers/time.py#L107
  50. used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/homeassistant/triggers/time.py#L108
  51. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/home_connect/api.py#L101
  52. used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/energy/sensor.py#L328
  53. used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/energy/sensor.py#L329
  54. used-before-assignment: Using variable 'converter' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/energy/sensor.py#L387
  55. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarmdecoder/config_flow.py#L107
  56. used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarmdecoder/config_flow.py#L116
  57. used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarmdecoder/config_flow.py#L141
  58. used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarmdecoder/init.py#L61
  59. used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/unifiprotect/media_source.py#L409
  60. used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/unifiprotect/media_source.py#L567
  61. used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/color_extractor/init.py#L91
  62. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/timer/reproduce_state.py#L64
  63. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/lock/device_action.py#L89
  64. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/lock/reproduce_state.py#L57
  65. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarm_control_panel/device_trigger.py#L153
  66. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarm_control_panel/device_action.py#L125
  67. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarm_control_panel/reproduce_state.py#L83
  68. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarm_control_panel/device_condition.py#L134
  69. used-before-assignment: Using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L89
  70. used-before-assignment: Using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/yale_smart_alarm/lock.py#L87
  71. used-before-assignment: Using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/forked_daapd/media_player.py#L794
  72. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/forked_daapd/media_player.py#L866
  73. used-before-assignment: Using variable 'content_type' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/camera/media_source.py#L96
  74. used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/http/auth.py#L232
  75. used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/blackbird/media_player.py#L108
  76. used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/steam_online/config_flow.py#L74
  77. used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/yeelight/light.py#L721
  78. used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/yeelight/light.py#L729
  79. used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/nws/weather.py#L220
  80. used-before-assignment: Using variable 'config_contents' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/fitbit/sensor.py#L579

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/509279bc7b42bdc009f2d6b814d6836d74af5cf9/src_py/sysfont.py#L67
  2. used-before-assignment: Using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/509279bc7b42bdc009f2d6b814d6836d74af5cf9/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. used-before-assignment: Using variable '_prefix' before assignment https://github.com/psf/black/blob/c36e468794f9256d5e922c399240d49782ba04f1/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. used-before-assignment: Using variable 'replacementDuration' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/variant.py#L1715
  2. used-before-assignment: Using variable 'variantType' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/variant.py#L2318
  3. used-before-assignment: Using variable 'beamType' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/musedata/translate.py#L74
  4. used-before-assignment: Using variable 'p' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/analysis/reduceChords.py#L577
  5. used-before-assignment: Using variable 'brailleArt' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/braille/basic.py#L617
  6. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L105
  7. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L106
  8. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L107
  9. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L108
  10. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L175
  11. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L176
  12. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L177
  13. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L178
  14. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L246
  15. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L247
  16. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L248
  17. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L249
  18. used-before-assignment: Using variable 'nNext' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/stream/tests.py#L6179

Effect on pytest: The following messages are now emitted:

  1. used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/556e075d23a91eb42821129a5d874ec3174e17ad/src/_pytest/reports.py#L576
  2. used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/556e075d23a91eb42821129a5d874ec3174e17ad/src/_pytest/fixtures.py#L199
  3. used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/556e075d23a91eb42821129a5d874ec3174e17ad/src/_pytest/assertion/rewrite.py#L981
  4. used-before-assignment: Using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/556e075d23a91eb42821129a5d874ec3174e17ad/src/_pytest/config/init.py#L1283

Effect on django: The following messages are now emitted:

  1. used-before-assignment: Using variable 'error_messages' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/forms/models.py#L464
  2. used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/contrib/gis/utils/layermapping.py#L682
  3. used-before-assignment: Using variable 'order_type' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/contrib/admin/views/main.py#L519
  4. used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/core/management/commands/makemessages.py#L126
  5. used-before-assignment: Using variable 'relation' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/core/checks/caches.py#L54
  6. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/template/defaulttags.py#L660
  7. used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/transaction.py#L245
  8. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/backends/oracle/creation.py#L48
  9. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/backends/oracle/creation.py#L174
  10. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/backends/base/creation.py#L214
  11. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/backends/sqlite3/creation.py#L43
  12. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/models/base.py#L542
  13. used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/models/deletion.py#L316
  14. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/migrations/migration.py#L135
  15. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/migrations/migration.py#L196

Effect on pandas: The following messages are now emitted:

  1. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/io/formats/style.py#L1870
  2. used-before-assignment: Using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/missing.py#L112
  3. used-before-assignment: Using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/missing.py#L217
  4. used-before-assignment: Using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/generic.py#L4267
  5. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/arrays/string_arrow.py#L121
  6. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/arrays/string_arrow.py#L157
  7. used-before-assignment: Using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/arrays/string_arrow.py#L309
  8. used-before-assignment: Using variable 'ARROW_CMP_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/arrays/arrow/array.py#L608
  9. used-before-assignment: Using variable 'ARROW_LOGICAL_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/arrays/arrow/array.py#L643
  10. used-before-assignment: Using variable 'ARROW_ARITHMETIC_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/arrays/arrow/array.py#L659
  11. used-before-assignment: Using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/reshape/pivot.py#L230
  12. used-before-assignment: Using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/computation/pytables.py#L160
  13. used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/computation/eval.py#L167
  14. used-before-assignment: Using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/computation/expressions.py#L63
  15. used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/internals/array_manager.py#L676
  16. used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/array_algos/take.py#L305
  17. used-before-assignment: Using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/indexes/base.py#L5028
  18. used-before-assignment: Using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/indexes/datetimelike.py#L261
  19. used-before-assignment: Using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/groupby/groupby.py#L5093
  20. used-before-assignment: Using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/groupby/groupby.py#L5632
  21. used-before-assignment: Using variable 'data' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/test_downstream.py#L300
  22. used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/test_gcs.py#L100
  23. used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/test_stata.py#L1998
  24. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/test_clipboard.py#L430
  25. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/formats/test_format.py#L109
  26. used-before-assignment: Using variable 'colors' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/formats/style/test_matplotlib.py#L102
  27. used-before-assignment: Using variable 'buf' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/parser/test_na_values.py#L129
  28. used-before-assignment: Using variable 'arr' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/json/test_json_table_schema.py#L497
  29. used-before-assignment: Using variable 'raises' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/strings/test_api.py#L94
  30. used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/window/test_rolling.py#L1580
  31. used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/window/test_expanding.py#L259
  32. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/extension/test_sparse.py#L414
  33. used-before-assignment: Using variable 'expected_dtype' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/extension/test_masked.py#L388
  34. used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/frame/test_constructors.py#L377
  35. used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/frame/test_reductions.py#L201
  36. used-before-assignment: Using variable 'assertion_iterator' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/frame/methods/test_to_dict.py#L430
  37. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/frame/methods/test_at_time.py#L116
  38. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/indexes/datetimes/test_date_range.py#L816
  39. used-before-assignment: Using variable 'expected_dtype' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/groupby/aggregate/test_cython.py#L426
  40. used-before-assignment: Using variable 'max_value' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/groupby/aggregate/test_aggregate.py#L1405

Effect on sentry: The following messages are now emitted:

  1. used-before-assignment: Using variable 'deletions' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/runner/commands/cleanup.py#L85
  2. used-before-assignment: Using variable 'alias' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/search/events/builder/discover.py#L1836
  3. used-before-assignment: Using variable 'metrics_query' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/search/events/builder/metrics.py#L1290
  4. used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/integrations/jira_server/integration.py#L566
  5. used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/integrations/jira/integration.py#L426
  6. used-before-assignment: Using variable 'actor_type' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/notifications/manager.py#L155
  7. used-before-assignment: Using variable 'actor_id' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/notifications/manager.py#L161
  8. used-before-assignment: Using variable 'id_key' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/notifications/manager.py#L453
  9. used-before-assignment: Using variable 'organization' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L31
  10. used-before-assignment: Using variable 'integration' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L31

Effect on coverage: The following messages are now emitted:

  1. used-before-assignment: Using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/pytracer.py#L250
  2. used-before-assignment: Using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/pytracer.py#L252
  3. used-before-assignment: Using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/pytracer.py#L254
  4. used-before-assignment: Using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/html.py#L140
  5. used-before-assignment: Using variable 'arcs_executed' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/html.py#L147
  6. used-before-assignment: Using variable 'fullname' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/inorout.py#L99
  7. used-before-assignment: Using variable 'match_case_lines' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/phystokens.py#L155
  8. used-before-assignment: Using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/env.py#L75

This comment was generated for commit 3557f76968864fa2ace6c8180af04c158a209b8b

github-actions[bot] avatar Aug 13 '23 18:08 github-actions[bot]

Many of the new messages in the primer look like reasonable reliances on repeating a variation of the same of the if condition (which we already test) but just not exactly. Probably worth a new possibly-used-before-assignment after all?

jacobtylerwalls avatar Aug 16 '23 11:08 jacobtylerwalls

@jacobtylerwalls I see this PR is still a draft - is it completed and ready for review?

milosivanovic avatar Jan 20 '24 19:01 milosivanovic

I'll add some tests and then open it for review :+1:

EDIT: there's one test revealing an issue. I may not have time to debug it in the near term. Help appreciated!

jacobtylerwalls avatar Jan 20 '24 20:01 jacobtylerwalls

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

Effect on astroid: The following messages are now emitted:

  1. used-before-assignment: Using variable 'iattrs' before assignment https://github.com/pylint-dev/astroid/blob/31ba1dbd8ae86b55330be861e37d6bc372d9a8a5/astroid/builder.py#L263
  2. used-before-assignment: Using variable 'targets' before assignment https://github.com/pylint-dev/astroid/blob/31ba1dbd8ae86b55330be861e37d6bc372d9a8a5/astroid/brain/brain_namedtuple_enum.py#L425
  3. used-before-assignment: Using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/31ba1dbd8ae86b55330be861e37d6bc372d9a8a5/astroid/nodes/node_classes.py#L1074

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

  1. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/water_heater/device_action.py#L78
  2. used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/recorder/util.py#L584
  3. used-before-assignment: Using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/recorder/system_health/init.py#L74
  4. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/mysensors/climate.py#L176
  5. used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/awair/config_flow.py#L187
  6. used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/unifiprotect/media_source.py#L409
  7. used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/unifiprotect/media_source.py#L567
  8. used-before-assignment: Using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/remote_rpi_gpio/init.py#L38
  9. used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/homeassistant/triggers/time.py#L108
  10. used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/homeassistant/triggers/time.py#L109
  11. used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/homeassistant/triggers/time.py#L110
  12. used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/blackbird/media_player.py#L108
  13. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarmdecoder/config_flow.py#L114
  14. used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarmdecoder/config_flow.py#L123
  15. used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarmdecoder/config_flow.py#L148
  16. used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarmdecoder/init.py#L60
  17. used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/rflink/init.py#L546
  18. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/climate/device_action.py#L98
  19. used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/climate/init.py#L537
  20. used-before-assignment: Using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/forked_daapd/media_player.py#L793
  21. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/forked_daapd/media_player.py#L865
  22. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alert/reproduce_state.py#L53
  23. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/roon/event.py#L70
  24. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/roon/media_player.py#L167
  25. used-before-assignment: Using variable 'item_id' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L112
  26. used-before-assignment: Using variable 'item_name' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L126
  27. used-before-assignment: Using variable 'item_coordinator' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L134
  28. used-before-assignment: Using variable 'item_device_name' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L137
  29. used-before-assignment: Using variable 'item_manufacturer' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L138
  30. used-before-assignment: Using variable 'item_model' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L139
  31. used-before-assignment: Using variable 'item_is_dimmer' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L141
  32. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_trigger.py#L160
  33. used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_trigger.py#L177
  34. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_action.py#L144
  35. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_condition.py#L140
  36. used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_condition.py#L157
  37. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/reproduce_state.py#L87
  38. used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/dialogflow/init.py#L91
  39. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/home_connect/api.py#L101
  40. used-before-assignment: Using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/islamic_prayer_times/init.py#L68
  41. used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/neato/camera.py#L90
  42. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/switch/reproduce_state.py#L55
  43. used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/energy/sensor.py#L333
  44. used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/energy/sensor.py#L334
  45. used-before-assignment: Using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L95
  46. used-before-assignment: Using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/yale_smart_alarm/lock.py#L91
  47. used-before-assignment: Using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/otbr/websocket_api.py#L163
  48. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/plex/media_browser.py#L168
  49. used-before-assignment: Using variable 'descriptions' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/tradfri/sensor.py#L162
  50. used-before-assignment: Using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/google_assistant/trait.py#L824
  51. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/lock/device_action.py#L89
  52. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/lock/reproduce_state.py#L57
  53. used-before-assignment: Using variable 'sensor_name' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/tellstick/sensor.py#L147
  54. used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/color_extractor/init.py#L107
  55. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/remote/reproduce_state.py#L55
  56. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarm_control_panel/device_trigger.py#L148
  57. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarm_control_panel/device_action.py#L119
  58. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarm_control_panel/device_condition.py#L130
  59. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarm_control_panel/reproduce_state.py#L83
  60. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/automation/config.py#L102
  61. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/automation/reproduce_state.py#L55
  62. used-before-assignment: Using variable 'AIOKafkaProducer' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/apache_kafka/init.py#L117
  63. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/omnilogic/sensor.py#L153
  64. used-before-assignment: Using variable 'datapoint' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/metoffice/init.py#L96
  65. used-before-assignment: Using variable 'main_processor_info' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/hunterdouglas_powerview/init.py#L134
  66. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/vacuum/device_action.py#L77
  67. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/vacuum/reproduce_state.py#L87
  68. used-before-assignment: Using variable 'WebexTeamsAPI' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cisco_webex_teams/notify.py#L44
  69. used-before-assignment: Using variable 'exceptions' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cisco_webex_teams/notify.py#L48
  70. used-before-assignment: Using variable 'ApiError' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cisco_webex_teams/notify.py#L72
  71. used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/dynalite/init.py#L77
  72. used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/nws/weather.py#L246
  73. used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/tado/sensor.py#L286
  74. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/timer/reproduce_state.py#L64
  75. used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/itunes/media_player.py#L75
  76. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/script/config.py#L133
  77. used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/emulated_kasa/init.py#L141
  78. used-before-assignment: Using variable 'content_type' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/camera/media_source.py#L96
  79. used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/wemo/fan.py#L166
  80. used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/google/calendar.py#L459
  81. used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/steam_online/config_flow.py#L74
  82. used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/yeelight/light.py#L724
  83. used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/yeelight/light.py#L732
  84. used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/http/auth.py#L229
  85. used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/helpers/deprecation.py#L288
  86. used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/helpers/update_coordinator.py#L398
  87. used-before-assignment: Using variable 'event' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/helpers/collection.py#L220

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L67
  2. used-before-assignment: Using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. used-before-assignment: Using variable '_prefix' before assignment https://github.com/psf/black/blob/b7c3a9fedd4cfcc6a6a88aacc7b0f599b63d4716/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. used-before-assignment: Using variable 'replacementDuration' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L1715
  2. used-before-assignment: Using variable 'variantType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L2318
  3. used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/pitch.py#L584
  4. used-before-assignment: Using variable 'beamType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/musedata/translate.py#L74
  5. used-before-assignment: Using variable 'brailleArt' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/braille/basic.py#L617
  6. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L105
  7. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L106
  8. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L107
  9. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L108
  10. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L175
  11. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L176
  12. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L177
  13. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L178
  14. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L246
  15. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L247
  16. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L248
  17. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L249
  18. used-before-assignment: Using variable 'p' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/analysis/reduceChords.py#L577
  19. used-before-assignment: Using variable 'nNext' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/stream/tests.py#L6161

Effect on pytest: The following messages are now emitted:

  1. used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/348e6de102c5a5ccdaab88c860d57b1f49f7b1d2/src/_pytest/fixtures.py#L197
  2. used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/348e6de102c5a5ccdaab88c860d57b1f49f7b1d2/src/_pytest/reports.py#L576
  3. used-before-assignment: Using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/348e6de102c5a5ccdaab88c860d57b1f49f7b1d2/src/_pytest/config/init.py#L1288
  4. used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/348e6de102c5a5ccdaab88c860d57b1f49f7b1d2/src/_pytest/assertion/rewrite.py#L1005

Effect on django: The following messages are now emitted:

  1. used-before-assignment: Using variable 'error_messages' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/forms/models.py#L465
  2. used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/transaction.py#L245
  3. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/backends/base/creation.py#L214
  4. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/backends/sqlite3/creation.py#L43
  5. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/backends/oracle/creation.py#L48
  6. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/backends/oracle/creation.py#L174
  7. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/models/base.py#L543
  8. used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/models/deletion.py#L316
  9. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/migrations/migration.py#L135
  10. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/migrations/migration.py#L196
  11. used-before-assignment: Using variable 'relation' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/core/checks/caches.py#L54
  12. used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/core/management/commands/makemessages.py#L126
  13. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/template/defaulttags.py#L661
  14. used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/contrib/gis/utils/layermapping.py#L682
  15. used-before-assignment: Using variable 'order_type' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/contrib/admin/views/main.py#L519

Effect on pandas: The following messages are now emitted:

  1. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/io/formats/style.py#L1871
  2. used-before-assignment: Using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/missing.py#L124
  3. used-before-assignment: Using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/missing.py#L253
  4. used-before-assignment: Using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/generic.py#L4329
  5. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/_arrow_string_mixins.py#L33
  6. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/_arrow_string_mixins.py#L60
  7. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/string_arrow.py#L132
  8. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/string_arrow.py#L135
  9. used-before-assignment: Using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/string_arrow.py#L356
  10. used-before-assignment: Using variable 'ARROW_CMP_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/array.py#L704
  11. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/array.py#L744
  12. used-before-assignment: Using variable 'ARROW_LOGICAL_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/array.py#L768
  13. used-before-assignment: Using variable 'ARROW_BIT_WISE_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/array.py#L784
  14. used-before-assignment: Using variable 'ARROW_ARITHMETIC_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/array.py#L789
  15. used-before-assignment: Using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/accessors.py#L49
  16. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/accessors.py#L81
  17. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/accessors.py#L114
  18. used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/array_algos/take.py#L304
  19. used-before-assignment: Using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/groupby/groupby.py#L5250
  20. used-before-assignment: Using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/groupby/groupby.py#L5792
  21. used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/internals/array_manager.py#L687
  22. used-before-assignment: Using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/computation/pytables.py#L164
  23. used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/computation/eval.py#L167
  24. used-before-assignment: Using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/computation/expressions.py#L63
  25. used-before-assignment: Using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/indexes/base.py#L5026
  26. used-before-assignment: Using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/indexes/datetimelike.py#L284
  27. used-before-assignment: Using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/reshape/pivot.py#L244
  28. used-before-assignment: Using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/reshape/merge.py#L1802
  29. used-before-assignment: Using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/reshape/merge.py#L1802
  30. used-before-assignment: Using variable 'ax_freq' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/plotting/test_datetimelike.py#L1743
  31. used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/frame/test_constructors.py#L376
  32. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/frame/methods/test_at_time.py#L115
  33. used-before-assignment: Using variable 'assertion_iterator' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/frame/methods/test_to_dict.py#L445
  34. used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/test_stata.py#L2047
  35. used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/test_gcs.py#L105
  36. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/formats/test_format.py#L2249
  37. used-before-assignment: Using variable 'colors' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/formats/style/test_matplotlib.py#L102
  38. used-before-assignment: Using variable 'arr' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/json/test_json_table_schema.py#L509
  39. used-before-assignment: Using variable 'buf' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/parser/test_na_values.py#L146
  40. used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/parser/common/test_read_errors.py#L245
  41. used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/window/test_expanding.py#L259
  42. used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/window/test_rolling.py#L1646
  43. used-before-assignment: Using variable 'expected_dtype' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/groupby/aggregate/test_cython.py#L426
  44. used-before-assignment: Using variable 'max_value' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/groupby/aggregate/test_aggregate.py#L1541
  45. used-before-assignment: Using variable 'expected_dtype' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/extension/test_masked.py#L368
  46. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/indexes/datetimes/test_date_range.py#L752
  47. used-before-assignment: Using variable 'raises' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/strings/test_api.py#L146
  48. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/series/methods/test_sort_index.py#L337

Effect on sentry: The following messages are now emitted:

  1. used-before-assignment: Using variable 'alias' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/search/events/builder/discover.py#L1833
  2. used-before-assignment: Using variable 'organization' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  3. used-before-assignment: Using variable 'integration' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  4. used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/jira_server/integration.py#L574
  5. used-before-assignment: Using variable 'state' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/slack/webhooks/action.py#L416
  6. used-before-assignment: Using variable 'values' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/slack/webhooks/action.py#L418
  7. used-before-assignment: Using variable 'payload' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/slack/actions/notification.py#L103
  8. used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/jira/integration.py#L461
  9. used-before-assignment: Using variable 'subscriptions_by_team_id' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/models/groupsubscription.py#L205
  10. used-before-assignment: Using variable 'freq_delta' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/api/helpers/span_analysis.py#L86
  11. used-before-assignment: Using variable 'duration_delta' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/api/helpers/span_analysis.py#L87
  12. used-before-assignment: Using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/snuba/metrics_layer/query.py#L288
  13. used-before-assignment: Using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/snuba/metrics_layer/query.py#L617
  14. used-before-assignment: Using variable 'deletions' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/runner/commands/cleanup.py#L86

Effect on psycopg: The following messages are now emitted:

  1. used-before-assignment: Using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/d5b74ab059a019b97173a1ee69b05d99e2bda78e/psycopg/psycopg/waiting.py#L408

Effect on coverage: The following messages are now emitted:

  1. used-before-assignment: Using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/phystokens.py#L161
  2. used-before-assignment: Using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/pytracer.py#L267
  3. used-before-assignment: Using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/pytracer.py#L269
  4. used-before-assignment: Using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/pytracer.py#L271
  5. used-before-assignment: Using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/env.py#L76
  6. used-before-assignment: Using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/html.py#L140
  7. used-before-assignment: Using variable 'arcs_executed' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/html.py#L147

This comment was generated for commit 1c09c0aa5cf170f0be05a4e93f31057bf2d22466

github-actions[bot] avatar Jan 20 '24 21:01 github-actions[bot]

I looked at the three astroid new messages and they look like they could very well be actual error (or if that's not the case it would be for non obvious reasons related to how the ast is constructed or how the code is called). Generally we favor false negatives over false positives but the ratio seems good in this case. Although, there's more than a hundred such examples to review to have the real ratio, which I don't see myself doing anytime soon...

Pierre-Sassoulas avatar Jan 20 '24 22:01 Pierre-Sassoulas

primer shows more traffic driven into #6804, so we may want to block this on a resolution there.

jacobtylerwalls avatar Jan 21 '24 14:01 jacobtylerwalls

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

Effect on astroid: The following messages are now emitted:

  1. used-before-assignment: Using variable 'iattrs' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/builder.py#L270
  2. used-before-assignment: Using variable 'targets' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/brain/brain_namedtuple_enum.py#L425
  3. used-before-assignment: Using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/nodes/node_classes.py#L1074

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

  1. used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/wemo/fan.py#L166
  2. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/vacuum/device_action.py#L77
  3. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/vacuum/reproduce_state.py#L87
  4. used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/neato/camera.py#L90
  5. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/remote/reproduce_state.py#L55
  6. used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/itunes/media_player.py#L73
  7. used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/energy/sensor.py#L333
  8. used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/energy/sensor.py#L334
  9. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/water_heater/device_action.py#L78
  10. used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/dialogflow/init.py#L91
  11. used-before-assignment: Using variable 'sensor_name' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/tellstick/sensor.py#L147
  12. used-before-assignment: Using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/remote_rpi_gpio/init.py#L38
  13. used-before-assignment: Using variable 'descriptions' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/tradfri/sensor.py#L162
  14. used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/blackbird/media_player.py#L107
  15. used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/recorder/util.py#L602
  16. used-before-assignment: Using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/recorder/system_health/init.py#L74
  17. used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/yeelight/light.py#L733
  18. used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/yeelight/light.py#L741
  19. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_action.py#L144
  20. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_trigger.py#L160
  21. used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_trigger.py#L177
  22. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_condition.py#L140
  23. used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_condition.py#L157
  24. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/reproduce_state.py#L87
  25. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/lock/device_action.py#L89
  26. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/lock/reproduce_state.py#L57
  27. used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/google/calendar.py#L483
  28. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alert/reproduce_state.py#L53
  29. used-before-assignment: Using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/otbr/websocket_api.py#L172
  30. used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/awair/config_flow.py#L187
  31. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/script/config.py#L133
  32. used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/emulated_kasa/init.py#L141
  33. used-before-assignment: Using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/forked_daapd/media_player.py#L793
  34. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/forked_daapd/media_player.py#L865
  35. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/mysensors/climate.py#L177
  36. used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/dynalite/init.py#L77
  37. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/climate/device_action.py#L98
  38. used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/climate/init.py#L651
  39. used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/homeassistant/triggers/time.py#L108
  40. used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/homeassistant/triggers/time.py#L109
  41. used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/homeassistant/triggers/time.py#L110
  42. used-before-assignment: Using variable 'WebexTeamsAPI' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cisco_webex_teams/notify.py#L44
  43. used-before-assignment: Using variable 'exceptions' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cisco_webex_teams/notify.py#L48
  44. used-before-assignment: Using variable 'ApiError' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cisco_webex_teams/notify.py#L72
  45. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/plex/media_browser.py#L168
  46. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/roon/event.py#L70
  47. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/roon/media_player.py#L167
  48. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/automation/config.py#L101
  49. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/automation/reproduce_state.py#L55
  50. used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/http/auth.py#L231
  51. used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/unifiprotect/media_source.py#L458
  52. used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/unifiprotect/media_source.py#L608
  53. used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/nws/weather.py#L246
  54. used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarmdecoder/init.py#L60
  55. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarmdecoder/config_flow.py#L114
  56. used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarmdecoder/config_flow.py#L123
  57. used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarmdecoder/config_flow.py#L148
  58. used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/steam_online/config_flow.py#L74
  59. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/timer/reproduce_state.py#L64
  60. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarm_control_panel/device_action.py#L119
  61. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarm_control_panel/device_trigger.py#L148
  62. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarm_control_panel/device_condition.py#L130
  63. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarm_control_panel/reproduce_state.py#L83
  64. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/omnilogic/sensor.py#L153
  65. used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/rflink/init.py#L546
  66. used-before-assignment: Using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/yale_smart_alarm/lock.py#L91
  67. used-before-assignment: Using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L95
  68. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/switch/reproduce_state.py#L55
  69. used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/tado/sensor.py#L286
  70. used-before-assignment: Using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/islamic_prayer_times/init.py#L66
  71. used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/color_extractor/init.py#L107
  72. used-before-assignment: Using variable 'item_id' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L112
  73. used-before-assignment: Using variable 'item_name' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L126
  74. used-before-assignment: Using variable 'item_coordinator' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L134
  75. used-before-assignment: Using variable 'item_device_name' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L137
  76. used-before-assignment: Using variable 'item_manufacturer' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L138
  77. used-before-assignment: Using variable 'item_model' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L139
  78. used-before-assignment: Using variable 'item_is_dimmer' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L141
  79. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/home_connect/api.py#L101
  80. used-before-assignment: Using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/google_assistant/trait.py#L829
  81. used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/helpers/deprecation.py#L288
  82. used-before-assignment: Using variable 'event' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/helpers/collection.py#L221
  83. used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/helpers/update_coordinator.py#L398

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L67
  2. used-before-assignment: Using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. used-before-assignment: Using variable '_prefix' before assignment https://github.com/psf/black/blob/d1d4fc58d3b744db35ac832cddf1d076ba5f5e7f/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. used-before-assignment: Using variable 'replacementDuration' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L1715
  2. used-before-assignment: Using variable 'variantType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L2318
  3. used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/pitch.py#L584
  4. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L105
  5. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L106
  6. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L107
  7. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L108
  8. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L175
  9. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L176
  10. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L177
  11. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L178
  12. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L246
  13. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L247
  14. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L248
  15. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L249
  16. used-before-assignment: Using variable 'p' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/analysis/reduceChords.py#L577
  17. used-before-assignment: Using variable 'brailleArt' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/braille/basic.py#L617
  18. used-before-assignment: Using variable 'nNext' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/stream/tests.py#L6161
  19. used-before-assignment: Using variable 'beamType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/musedata/translate.py#L74

Effect on pytest: The following messages are now emitted:

  1. used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/b510adf9efcd21e7ff2ab8e93e925f3e8363bb7d/src/_pytest/reports.py#L574
  2. used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/b510adf9efcd21e7ff2ab8e93e925f3e8363bb7d/src/_pytest/fixtures.py#L192
  3. used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/b510adf9efcd21e7ff2ab8e93e925f3e8363bb7d/src/_pytest/assertion/rewrite.py#L1009
  4. used-before-assignment: Using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/b510adf9efcd21e7ff2ab8e93e925f3e8363bb7d/src/_pytest/config/init.py#L1302

Effect on django: The following messages are now emitted:

  1. used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/gis/utils/layermapping.py#L686
  2. used-before-assignment: Using variable 'order_type' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/admin/views/main.py#L525
  3. used-before-assignment: Using variable 'error_messages' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/forms/models.py#L466
  4. used-before-assignment: Using variable 'relation' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/checks/caches.py#L54
  5. used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/management/commands/makemessages.py#L126
  6. used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/transaction.py#L245
  7. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/base.py#L543
  8. used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/deletion.py#L314
  9. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/base/creation.py#L217
  10. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L48
  11. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L174
  12. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/sqlite3/creation.py#L43
  13. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L135
  14. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L196
  15. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/template/defaulttags.py#L662

Effect on pandas: The following messages are now emitted:

  1. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/formats/style.py#L1918
  2. used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_stata.py#L2049
  3. used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_gcs.py#L105
  4. used-before-assignment: Using variable 'arr' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/json/test_json_table_schema.py#L509
  5. used-before-assignment: Using variable 'buf' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_na_values.py#L146
  6. used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/common/test_read_errors.py#L245
  7. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/formats/test_format.py#L2249
  8. used-before-assignment: Using variable 'colors' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/formats/style/test_matplotlib.py#L82
  9. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/series/methods/test_sort_index.py#L337
  10. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/indexes/datetimes/test_date_range.py#L752
  11. used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/frame/test_constructors.py#L358
  12. used-before-assignment: Using variable 'assertion_iterator' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/frame/methods/test_to_dict.py#L448
  13. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/frame/methods/test_at_time.py#L115
  14. used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/window/test_expanding.py#L250
  15. used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/window/test_rolling.py#L1501
  16. used-before-assignment: Using variable 'ax_freq' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/plotting/test_datetimelike.py#L1743
  17. used-before-assignment: Using variable 'max_value' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/groupby/aggregate/test_aggregate.py#L1451
  18. used-before-assignment: Using variable 'expected_dtype' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/groupby/aggregate/test_cython.py#L411
  19. used-before-assignment: Using variable 'raises' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/strings/test_api.py#L146
  20. used-before-assignment: Using variable 'expected_dtype' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/extension/test_masked.py#L377
  21. used-before-assignment: Using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/generic.py#L4109
  22. used-before-assignment: Using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/missing.py#L124
  23. used-before-assignment: Using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/missing.py#L253
  24. used-before-assignment: Using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/indexes/datetimelike.py#L247
  25. used-before-assignment: Using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/indexes/base.py#L4647
  26. used-before-assignment: Using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/computation/expressions.py#L63
  27. used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/computation/eval.py#L170
  28. used-before-assignment: Using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/computation/pytables.py#L164
  29. used-before-assignment: Using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/reshape/pivot.py#L230
  30. used-before-assignment: Using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/reshape/merge.py#L1791
  31. used-before-assignment: Using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/reshape/merge.py#L1791
  32. used-before-assignment: Using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/groupby/groupby.py#L5066
  33. used-before-assignment: Using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/groupby/groupby.py#L5508
  34. used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/array_algos/take.py#L304
  35. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/_arrow_string_mixins.py#L33
  36. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/_arrow_string_mixins.py#L60
  37. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/string_arrow.py#L133
  38. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/string_arrow.py#L136
  39. used-before-assignment: Using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/string_arrow.py#L346
  40. used-before-assignment: Using variable 'ARROW_CMP_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/array.py#L703
  41. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/array.py#L743
  42. used-before-assignment: Using variable 'ARROW_LOGICAL_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/array.py#L767
  43. used-before-assignment: Using variable 'ARROW_BIT_WISE_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/array.py#L783
  44. used-before-assignment: Using variable 'ARROW_ARITHMETIC_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/array.py#L788
  45. used-before-assignment: Using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/accessors.py#L49
  46. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/accessors.py#L81
  47. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/accessors.py#L112

Effect on sentry: The following messages are now emitted:

  1. used-before-assignment: Using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/snuba/metrics_layer/query.py#L285
  2. used-before-assignment: Using variable 'sentry_app_map' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/incidents/endpoints/organization_alert_rule_details.py#L77
  3. used-before-assignment: Using variable 'subscriptions_by_team_id' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/models/groupsubscription.py#L206
  4. used-before-assignment: Using variable 'state' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/slack/webhooks/action.py#L512
  5. used-before-assignment: Using variable 'values' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/slack/webhooks/action.py#L514
  6. used-before-assignment: Using variable 'payload' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/slack/actions/notification.py#L112
  7. used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/jira_server/integration.py#L579
  8. used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/jira/integration.py#L464
  9. used-before-assignment: Using variable 'alias' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/search/events/builder/discover.py#L1829
  10. used-before-assignment: Using variable 'freq_delta' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/api/helpers/span_analysis.py#L86
  11. used-before-assignment: Using variable 'duration_delta' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/api/helpers/span_analysis.py#L87
  12. used-before-assignment: Using variable 'deletions' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/runner/commands/cleanup.py#L85
  13. used-before-assignment: Using variable 'organization' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  14. used-before-assignment: Using variable 'integration' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32

Effect on psycopg: The following messages are now emitted:

  1. used-before-assignment: Using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/b26dff772f750331b0c93d46dc3d8f7457f00345/psycopg/psycopg/waiting.py#L413
  2. used-before-assignment: Using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/b26dff772f750331b0c93d46dc3d8f7457f00345/psycopg/psycopg/connection_async.py#L335
  3. used-before-assignment: Using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/b26dff772f750331b0c93d46dc3d8f7457f00345/psycopg/psycopg/connection.py#L319

Effect on coverage: The following messages are now emitted:

  1. used-before-assignment: Using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/pytracer.py#L267
  2. used-before-assignment: Using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/pytracer.py#L269
  3. used-before-assignment: Using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/pytracer.py#L271
  4. used-before-assignment: Using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/phystokens.py#L161
  5. used-before-assignment: Using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/env.py#L76
  6. used-before-assignment: Using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/html.py#L140
  7. used-before-assignment: Using variable 'arcs_executed' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/html.py#L147

This comment was generated for commit 55a86e4491a0d12a7bd01c5eb47b9fdd37e1ca38

github-actions[bot] avatar Feb 23 '24 23:02 github-actions[bot]

Codecov Report

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

Project coverage is 95.81%. Comparing base (9dbf3df) to head (b362668). Report is 26 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8952      +/-   ##
==========================================
- Coverage   95.82%   95.81%   -0.01%     
==========================================
  Files         173      173              
  Lines       18797    18825      +28     
==========================================
+ Hits        18013    18038      +25     
- Misses        784      787       +3     
Files Coverage Δ
pylint/checkers/variables.py 97.35% <100.00%> (-0.05%) :arrow_down:

... and 5 files with indirect coverage changes

codecov[bot] avatar Feb 24 '24 00:02 codecov[bot]

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

Effect on astroid: The following messages are now emitted:

  1. used-before-assignment: Using variable 'iattrs' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/builder.py#L270
  2. used-before-assignment: Using variable 'targets' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/brain/brain_namedtuple_enum.py#L425
  3. used-before-assignment: Using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/nodes/node_classes.py#L1074

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

  1. used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/wemo/fan.py#L166
  2. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/vacuum/device_action.py#L77
  3. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/vacuum/reproduce_state.py#L87
  4. used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/neato/camera.py#L90
  5. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/remote/reproduce_state.py#L55
  6. used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/itunes/media_player.py#L73
  7. used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/energy/sensor.py#L333
  8. used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/energy/sensor.py#L334
  9. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/water_heater/device_action.py#L78
  10. used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/dialogflow/init.py#L91
  11. used-before-assignment: Using variable 'sensor_name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/tellstick/sensor.py#L147
  12. used-before-assignment: Using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/remote_rpi_gpio/init.py#L38
  13. used-before-assignment: Using variable 'descriptions' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/tradfri/sensor.py#L162
  14. used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/blackbird/media_player.py#L107
  15. used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/recorder/util.py#L602
  16. used-before-assignment: Using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/recorder/system_health/init.py#L74
  17. used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yeelight/light.py#L733
  18. used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yeelight/light.py#L741
  19. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_action.py#L144
  20. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_trigger.py#L160
  21. used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_trigger.py#L177
  22. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_condition.py#L140
  23. used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_condition.py#L157
  24. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/reproduce_state.py#L87
  25. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/lock/device_action.py#L89
  26. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/lock/reproduce_state.py#L57
  27. used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/google/calendar.py#L483
  28. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alert/reproduce_state.py#L53
  29. used-before-assignment: Using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/otbr/websocket_api.py#L172
  30. used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/awair/config_flow.py#L187
  31. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/script/config.py#L133
  32. used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/emulated_kasa/init.py#L141
  33. used-before-assignment: Using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/forked_daapd/media_player.py#L793
  34. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/forked_daapd/media_player.py#L865
  35. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/mysensors/climate.py#L177
  36. used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/dynalite/init.py#L77
  37. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/climate/device_action.py#L98
  38. used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/climate/init.py#L651
  39. used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L108
  40. used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L109
  41. used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L110
  42. used-before-assignment: Using variable 'WebexTeamsAPI' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L44
  43. used-before-assignment: Using variable 'exceptions' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L48
  44. used-before-assignment: Using variable 'ApiError' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L72
  45. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/plex/media_browser.py#L168
  46. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/roon/event.py#L70
  47. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/roon/media_player.py#L167
  48. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/automation/config.py#L101
  49. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/automation/reproduce_state.py#L55
  50. used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/http/auth.py#L231
  51. used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/unifiprotect/media_source.py#L458
  52. used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/unifiprotect/media_source.py#L608
  53. used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/nws/weather.py#L246
  54. used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/init.py#L60
  55. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L114
  56. used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L123
  57. used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L148
  58. used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/steam_online/config_flow.py#L74
  59. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/timer/reproduce_state.py#L64
  60. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarm_control_panel/device_action.py#L119
  61. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarm_control_panel/device_trigger.py#L148
  62. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarm_control_panel/device_condition.py#L130
  63. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarm_control_panel/reproduce_state.py#L83
  64. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/omnilogic/sensor.py#L153
  65. used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/rflink/init.py#L546
  66. used-before-assignment: Using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yale_smart_alarm/lock.py#L91
  67. used-before-assignment: Using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L95
  68. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/switch/reproduce_state.py#L55
  69. used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/tado/sensor.py#L286
  70. used-before-assignment: Using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/islamic_prayer_times/init.py#L66
  71. used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/color_extractor/init.py#L107
  72. used-before-assignment: Using variable 'item_id' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L112
  73. used-before-assignment: Using variable 'item_name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L126
  74. used-before-assignment: Using variable 'item_coordinator' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L134
  75. used-before-assignment: Using variable 'item_device_name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L137
  76. used-before-assignment: Using variable 'item_manufacturer' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L138
  77. used-before-assignment: Using variable 'item_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L139
  78. used-before-assignment: Using variable 'item_is_dimmer' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L141
  79. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/home_connect/api.py#L101
  80. used-before-assignment: Using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/google_assistant/trait.py#L829
  81. used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/helpers/deprecation.py#L288
  82. used-before-assignment: Using variable 'event' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/helpers/collection.py#L221
  83. used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/helpers/update_coordinator.py#L398

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L67
  2. used-before-assignment: Using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. used-before-assignment: Using variable '_prefix' before assignment https://github.com/psf/black/blob/d1d4fc58d3b744db35ac832cddf1d076ba5f5e7f/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. used-before-assignment: Using variable 'replacementDuration' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L1715
  2. used-before-assignment: Using variable 'variantType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L2318
  3. used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/pitch.py#L584
  4. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L105
  5. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L106
  6. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L107
  7. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L108
  8. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L175
  9. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L176
  10. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L177
  11. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L178
  12. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L246
  13. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L247
  14. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L248
  15. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L249
  16. used-before-assignment: Using variable 'p' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/analysis/reduceChords.py#L577
  17. used-before-assignment: Using variable 'brailleArt' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/braille/basic.py#L617
  18. used-before-assignment: Using variable 'nNext' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/stream/tests.py#L6161
  19. used-before-assignment: Using variable 'beamType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/musedata/translate.py#L74

Effect on pytest: The following messages are now emitted:

  1. used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/reports.py#L574
  2. used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/fixtures.py#L192
  3. used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/assertion/rewrite.py#L1009
  4. used-before-assignment: Using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/config/init.py#L1302

Effect on django: The following messages are now emitted:

  1. used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/gis/utils/layermapping.py#L686
  2. used-before-assignment: Using variable 'order_type' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/admin/views/main.py#L525
  3. used-before-assignment: Using variable 'error_messages' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/forms/models.py#L466
  4. used-before-assignment: Using variable 'relation' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/checks/caches.py#L54
  5. used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/management/commands/makemessages.py#L126
  6. used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/transaction.py#L245
  7. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/base.py#L543
  8. used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/deletion.py#L314
  9. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/base/creation.py#L217
  10. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L48
  11. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L174
  12. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/sqlite3/creation.py#L43
  13. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L135
  14. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L196
  15. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/template/defaulttags.py#L662

Effect on pandas: The following messages are now emitted:

  1. no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L63
  2. no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L63
  3. no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L64
  4. no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L64
  5. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/pytables.py#L2600
  6. invalid-sequence-index: Sequence index is not an int, slice, or instance with index https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/sas/sas7bdat.py#L439
  7. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L363
  8. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L364
  9. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L368
  10. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L379
  11. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L380
  12. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/formats/style.py#L1918
  13. used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_stata.py#L2049
  14. used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_gcs.py#L105
  15. unsubscriptable-object: Value 'ujson.ujson_loads(doc)' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/json/test_ujson.py#L593
  16. use-implicit-booleaness-not-comparison: "ujson.ujson_loads(...) == {}" can be simplified to "not ujson.ujson_loads(...)", if it is strictly a sequence, as an empty dict is falsey https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/json/test_ujson.py#L1003
  17. not-an-iterable: Non-iterable value dec is used in an iterating context https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/json/test_ujson.py#L1055
  18. used-before-assignment: Using variable 'arr' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/json/test_json_table_schema.py#L509
  19. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L55
  20. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L64
  21. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L67
  22. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L76
  23. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L85
  24. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L88
  25. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L98
  26. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L107
  27. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L116
  28. c-extension-no-member: Module 'pandas._libs.parsers' has no 'ParserError' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L135
  29. unexpected-keyword-arg: Unexpected keyword argument 'on_bad_lines' in constructor call https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L138
  30. unexpected-keyword-arg: Unexpected keyword argument 'on_bad_lines' in constructor call https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L153
  31. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L208
  32. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L211
  33. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L212
  34. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L216
  35. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L218
  36. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L219
  37. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L236
  38. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L237
  39. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L241
  40. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L242
  41. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L246
  42. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L247
  43. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L265
  44. unsubscriptable-object: Value 'exp' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L265
  45. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L266
  46. unsubscriptable-object: Value 'exp' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L266
  47. used-before-assignment: Using variable 'buf' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_na_values.py#L146
  48. used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/common/test_read_errors.py#L245
  49. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/formats/test_format.py#L2249
  50. used-before-assignment: Using variable 'colors' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/formats/style/test_matplotlib.py#L82
  51. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/series/methods/test_interpolate.py#L228
  52. redefined-variable-type: Redefinition of expected0 type from pandas._libs.tslibs.timestamps.Timestamp to pandas.core.series.Series https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/series/methods/test_tz_localize.py#L28
  53. redefined-variable-type: Redefinition of expected1 type from pandas._libs.tslibs.timestamps.Timestamp to pandas.core.series.Series https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/series/methods/test_tz_localize.py#L29
  54. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/series/methods/test_sort_index.py#L337
  55. redefined-variable-type: Redefinition of expected type from pandas._libs.tslibs.timestamps.Timestamp to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L1574
  56. unsubscriptable-object: Value 'tslib.array_to_datetime(strings)' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L2471
  57. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L2881
  58. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L2918
  59. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L2989
  60. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L3016
  61. redefined-variable-type: Redefinition of expected type from pandas.core.indexes.timedeltas.TimedeltaIndex to pandas.core.arrays.numpy_.NumpyExtensionArray https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/test_nat.py#L463
  62. no-member: Instance of 'datetime' has no 'to_period' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L20
  63. no-member: Instance of 'date' has no 'to_period' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L20
  64. unnecessary-negation: Consider changing "not jan == feb" to "jan != feb" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L408
  65. unnecessary-negation: Consider changing "not jan > feb" to "jan <= feb" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L412
  66. unnecessary-negation: Consider changing "not jan >= feb" to "jan < feb" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L413
  67. unnecessary-negation: Consider changing "not left < right" to "left >= right" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L423
  68. unnecessary-negation: Consider changing "not left > right" to "left <= right" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L424
  69. unnecessary-negation: Consider changing "not jan == day" to "jan != day" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L430
  70. unnecessary-negation: Consider changing "not jan == 1" to "jan != 1" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L445
  71. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1034
  72. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1046
  73. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1061
  74. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1076
  75. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1096
  76. no-member: Instance of 'timedelta' has no 'as_unit' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L975
  77. no-member: Instance of 'timedelta' has no 'as_unit' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L976
  78. no-member: Instance of 'timedelta' has no 'as_unit' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L994
  79. no-member: Instance of 'timedelta' has no 'as_unit' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L995
  80. unnecessary-negation: Consider changing "not td != pytd" to "td == pytd" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1021
  81. unnecessary-negation: Consider changing "not td < pytd" to "td >= pytd" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1022
  82. unnecessary-negation: Consider changing "not td > pytd" to "td <= pytd" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1023
  83. unnecessary-negation: Consider changing "not t < CustomClass(cmp_result=False)" to "t >= CustomClass(cmp_result=False)" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1130
  84. useless-suppression: Useless suppression of 'unnecessary-negation' https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1182
  85. redefined-variable-type: Redefinition of expected type from pandas.core.indexes.timedeltas.TimedeltaIndex to pandas._libs.tslibs.timedeltas.Timedelta https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L162
  86. redefined-variable-type: Redefinition of result type from pandas.core.indexes.timedeltas.TimedeltaIndex to pandas._libs.tslibs.timedeltas.Timedelta https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L165
  87. redefined-variable-type: Redefinition of tick type from pandas._libs.tslibs.offsets.Nano to pandas._libs.tslibs.offsets.Micro https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L242
  88. no-member: Instance of 'Timedelta' has no '_repr_base' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L433
  89. no-member: Instance of 'Timedelta' has no '_repr_base' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L434
  90. no-member: Instance of 'timedelta' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L244
  91. no-member: Instance of 'timedelta' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L247
  92. no-member: Instance of 'timedelta' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L250
  93. invalid-unary-operand-type: bad operand type for unary ~: Timedelta https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L259
  94. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L263
  95. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L267
  96. no-member: Instance of 'Timedelta' has no 'components' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L392
  97. no-member: Instance of 'Timedelta' has no 'nanoseconds' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L664
  98. no-member: Instance of 'timedelta' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L70
  99. no-member: Instance of 'timedelta' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L74
  100. no-member: Instance of 'timedelta' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L82
  101. no-member: Instance of 'timedelta' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L84
  102. no-member: Instance of 'timedelta' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L88
  103. no-member: Instance of 'timedelta' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L90
  104. no-member: Instance of 'timedelta' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L121
  105. no-member: Instance of 'timedelta' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L126
  106. no-member: Instance of 'timedelta' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L131
  107. no-member: Instance of 'timedelta' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L135
  108. no-member: Instance of 'Timestamp' has no 'millisecond' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L104
  109. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L300
  110. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L300
  111. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L300
  112. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L300
  113. no-member: Class 'Timestamp' has no '_from_dt64' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L534
  114. no-member: Class 'Timestamp' has no '_from_dt64' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L640
  115. no-member: Class 'Timestamp' has no '_from_dt64' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L655
  116. no-member: Instance of 'date' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L881
  117. no-member: Instance of 'datetime' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L881
  118. no-member: Instance of 'date' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L884
  119. no-member: Instance of 'datetime' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L884
  120. no-member: Instance of 'timedelta' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L887
  121. unnecessary-negation: Consider changing "not val != val" to "val == val" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L111
  122. unnecessary-negation: Consider changing "not val < val" to "val >= val" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L112
  123. unnecessary-negation: Consider changing "not val > val" to "val <= val" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L114
  124. unnecessary-negation: Consider changing "not val != other" to "val == other" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L119
  125. unnecessary-negation: Consider changing "not val < other" to "val >= other" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L120
  126. unnecessary-negation: Consider changing "not val > other" to "val <= other" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L122
  127. redefined-variable-type: Redefinition of other type from _pydatetime.datetime to pandas._libs.tslibs.timestamps.Timestamp https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L125
  128. unnecessary-negation: Consider changing "not val == 'foo'" to "val != 'foo'" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L137
  129. unnecessary-negation: Consider changing "not val == 10.0" to "val != 10.0" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L138
  130. unnecessary-negation: Consider changing "not val == 1" to "val != 1" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L139
  131. unnecessary-negation: Consider changing "not val == []" to "val != []" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L140
  132. use-implicit-booleaness-not-comparison: "val == []" can be simplified to "not val", if it is strictly a sequence, as an empty list is falsey https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L140
  133. unnecessary-negation: Consider changing "not val == {'foo': 1}" to "val != {'foo': 1}" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L141
  134. use-implicit-booleaness-not-comparison: "val != []" can be simplified to "val", if it is strictly a sequence, as an empty list is falsey https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L148
  135. unnecessary-negation: Consider changing "not left == right" to "left != right" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L163
  136. unnecessary-negation: Consider changing "not a == b" to "a != b" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L181
  137. unnecessary-negation: Consider changing "not b == a" to "b != a" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L192
  138. unnecessary-negation: Consider changing "not stamp == datetime(1600, 1, 1)" to "stamp != datetime(1600, 1, 1)" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L231
  139. unnecessary-negation: Consider changing "not stamp == datetime(2700, 1, 1)" to "stamp != datetime(2700, 1, 1)" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L232
  140. no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L241
  141. no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L241
  142. useless-suppression: Useless suppression of 'unnecessary-negation' https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L312
  143. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L776
  144. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L776
  145. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L778
  146. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L778
  147. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L779
  148. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L779
  149. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L781
  150. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L781
  151. no-member: Instance of 'datetime' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L271
  152. no-member: Instance of 'date' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L271
  153. no-member: Instance of 'date' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L275
  154. no-member: Instance of 'datetime' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L275
  155. no-member: Instance of 'datetime' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L281
  156. no-member: Instance of 'date' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L281
  157. no-member: Instance of 'datetime' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L284
  158. no-member: Instance of 'date' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L284
  159. no-member: Instance of 'date' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L288
  160. no-member: Instance of 'datetime' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L288
  161. no-member: Instance of 'date' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L291
  162. no-member: Instance of 'datetime' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L291
  163. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L321
  164. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L321
  165. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L326
  166. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L326
  167. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L331
  168. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L331
  169. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L335
  170. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L335
  171. no-member: Instance of 'datetime' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L36
  172. no-member: Instance of 'date' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L36
  173. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L37
  174. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L37
  175. no-member: Instance of 'datetime' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L40
  176. no-member: Instance of 'date' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L40
  177. no-member: Instance of 'date' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L47
  178. no-member: Instance of 'datetime' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L47
  179. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L48
  180. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L48
  181. no-member: Instance of 'date' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L51
  182. no-member: Instance of 'datetime' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L51 183)...

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

This comment was generated for commit a7713836d975010cbc1ddacf47e68cf9bb231c49

github-actions[bot] avatar Feb 24 '24 13:02 github-actions[bot]

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

Effect on astroid: The following messages are now emitted:

  1. used-before-assignment: Using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/nodes/node_classes.py#L1074

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

  1. used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/wemo/fan.py#L166
  2. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/vacuum/device_action.py#L77
  3. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/vacuum/reproduce_state.py#L87
  4. used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/neato/camera.py#L90
  5. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/remote/reproduce_state.py#L55
  6. used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/itunes/media_player.py#L73
  7. used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/energy/sensor.py#L333
  8. used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/energy/sensor.py#L334
  9. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/water_heater/device_action.py#L78
  10. used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/dialogflow/init.py#L91
  11. used-before-assignment: Using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/remote_rpi_gpio/init.py#L38
  12. used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/blackbird/media_player.py#L107
  13. used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/recorder/util.py#L602
  14. used-before-assignment: Using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/recorder/system_health/init.py#L74
  15. used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yeelight/light.py#L733
  16. used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yeelight/light.py#L741
  17. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_action.py#L144
  18. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_trigger.py#L160
  19. used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_trigger.py#L177
  20. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_condition.py#L140
  21. used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_condition.py#L157
  22. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/reproduce_state.py#L87
  23. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/lock/device_action.py#L89
  24. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/lock/reproduce_state.py#L57
  25. used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/google/calendar.py#L483
  26. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alert/reproduce_state.py#L53
  27. used-before-assignment: Using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/otbr/websocket_api.py#L172
  28. used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/awair/config_flow.py#L187
  29. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/script/config.py#L133
  30. used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/emulated_kasa/init.py#L141
  31. used-before-assignment: Using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/forked_daapd/media_player.py#L793
  32. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/forked_daapd/media_player.py#L865
  33. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/mysensors/climate.py#L177
  34. used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/dynalite/init.py#L77
  35. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/climate/device_action.py#L98
  36. used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/climate/init.py#L651
  37. used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L108
  38. used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L109
  39. used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L110
  40. used-before-assignment: Using variable 'WebexTeamsAPI' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L44
  41. used-before-assignment: Using variable 'exceptions' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L48
  42. used-before-assignment: Using variable 'ApiError' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L72
  43. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/plex/media_browser.py#L168
  44. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/roon/event.py#L70
  45. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/roon/media_player.py#L167
  46. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/automation/config.py#L101
  47. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/automation/reproduce_state.py#L55
  48. used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/http/auth.py#L231
  49. used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/unifiprotect/media_source.py#L458
  50. used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/unifiprotect/media_source.py#L608
  51. used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/nws/weather.py#L246
  52. used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/init.py#L60
  53. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L114
  54. used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L123
  55. used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L148
  56. used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/steam_online/config_flow.py#L74
  57. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/timer/reproduce_state.py#L64
  58. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarm_control_panel/device_action.py#L119
  59. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarm_control_panel/device_trigger.py#L148
  60. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarm_control_panel/device_condition.py#L130
  61. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarm_control_panel/reproduce_state.py#L83
  62. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/omnilogic/sensor.py#L153
  63. used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/rflink/init.py#L546
  64. used-before-assignment: Using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yale_smart_alarm/lock.py#L91
  65. used-before-assignment: Using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L95
  66. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/switch/reproduce_state.py#L55
  67. used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/tado/sensor.py#L286
  68. used-before-assignment: Using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/islamic_prayer_times/init.py#L66
  69. used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/color_extractor/init.py#L107
  70. used-before-assignment: Using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/google_assistant/trait.py#L829
  71. used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/helpers/deprecation.py#L288
  72. used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/helpers/update_coordinator.py#L398

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L67
  2. used-before-assignment: Using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. used-before-assignment: Using variable '_prefix' before assignment https://github.com/psf/black/blob/d1d4fc58d3b744db35ac832cddf1d076ba5f5e7f/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/pitch.py#L584
  2. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L105
  3. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L106
  4. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L107
  5. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L108
  6. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L175
  7. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L176
  8. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L177
  9. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L178
  10. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L246
  11. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L247
  12. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L248
  13. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L249

Effect on pytest: The following messages are now emitted:

  1. used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/reports.py#L574
  2. used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/fixtures.py#L192
  3. used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/assertion/rewrite.py#L1009
  4. used-before-assignment: Using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/config/init.py#L1302

Effect on django: The following messages are now emitted:

  1. used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/gis/utils/layermapping.py#L686
  2. used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/management/commands/makemessages.py#L126
  3. used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/transaction.py#L245
  4. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/base.py#L543
  5. used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/deletion.py#L314
  6. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/base/creation.py#L217
  7. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L48
  8. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L174
  9. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/sqlite3/creation.py#L43
  10. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L135
  11. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L196
  12. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/template/defaulttags.py#L662

Effect on pandas: The following messages are now emitted:

  1. no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L63
  2. no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L63
  3. no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L64
  4. no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L64
  5. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/pytables.py#L2600
  6. invalid-sequence-index: Sequence index is not an int, slice, or instance with index https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/sas/sas7bdat.py#L439
  7. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L363
  8. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L364
  9. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L368
  10. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L379
  11. unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L380
  12. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/formats/style.py#L1918
  13. used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_stata.py#L2049
  14. used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_gcs.py#L105
  15. unsubscriptable-object: Value 'ujson.ujson_loads(doc)' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/json/test_ujson.py#L593
  16. use-implicit-booleaness-not-comparison: "ujson.ujson_loads(...) == {}" can be simplified to "not ujson.ujson_loads(...)", if it is strictly a sequence, as an empty dict is falsey https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/json/test_ujson.py#L1003
  17. not-an-iterable: Non-iterable value dec is used in an iterating context https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/json/test_ujson.py#L1055
  18. used-before-assignment: Using variable 'arr' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/json/test_json_table_schema.py#L509
  19. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L55
  20. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L64
  21. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L67
  22. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L76
  23. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L85
  24. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L88
  25. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L98
  26. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L107
  27. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L116
  28. c-extension-no-member: Module 'pandas._libs.parsers' has no 'ParserError' member, but source is unavailable. Consider adding this module to extension-pkg-allow-list if you want to perform analysis based on run-time introspection of living objects. https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L135
  29. unexpected-keyword-arg: Unexpected keyword argument 'on_bad_lines' in constructor call https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L138
  30. unexpected-keyword-arg: Unexpected keyword argument 'on_bad_lines' in constructor call https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L153
  31. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L208
  32. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L211
  33. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L212
  34. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L216
  35. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L218
  36. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L219
  37. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L236
  38. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L237
  39. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L241
  40. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L242
  41. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L246
  42. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L247
  43. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L265
  44. unsubscriptable-object: Value 'exp' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L265
  45. unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L266
  46. unsubscriptable-object: Value 'exp' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L266
  47. used-before-assignment: Using variable 'buf' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_na_values.py#L146
  48. used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/common/test_read_errors.py#L245
  49. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/formats/test_format.py#L2249
  50. used-before-assignment: Using variable 'colors' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/formats/style/test_matplotlib.py#L82
  51. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/series/methods/test_interpolate.py#L228
  52. redefined-variable-type: Redefinition of expected0 type from pandas._libs.tslibs.timestamps.Timestamp to pandas.core.series.Series https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/series/methods/test_tz_localize.py#L28
  53. redefined-variable-type: Redefinition of expected1 type from pandas._libs.tslibs.timestamps.Timestamp to pandas.core.series.Series https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/series/methods/test_tz_localize.py#L29
  54. used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/series/methods/test_sort_index.py#L337
  55. redefined-variable-type: Redefinition of expected type from pandas._libs.tslibs.timestamps.Timestamp to pandas.core.indexes.datetimes.DatetimeIndex https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L1574
  56. unsubscriptable-object: Value 'tslib.array_to_datetime(strings)' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L2471
  57. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L2881
  58. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L2918
  59. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L2989
  60. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/tools/test_to_datetime.py#L3016
  61. redefined-variable-type: Redefinition of expected type from pandas.core.indexes.timedeltas.TimedeltaIndex to pandas.core.arrays.numpy_.NumpyExtensionArray https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/test_nat.py#L463
  62. no-member: Instance of 'date' has no 'to_period' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L20
  63. no-member: Instance of 'datetime' has no 'to_period' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L20
  64. unnecessary-negation: Consider changing "not jan == feb" to "jan != feb" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L408
  65. unnecessary-negation: Consider changing "not jan > feb" to "jan <= feb" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L412
  66. unnecessary-negation: Consider changing "not jan >= feb" to "jan < feb" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L413
  67. unnecessary-negation: Consider changing "not left < right" to "left >= right" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L423
  68. unnecessary-negation: Consider changing "not left > right" to "left <= right" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L424
  69. unnecessary-negation: Consider changing "not jan == day" to "jan != day" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L430
  70. unnecessary-negation: Consider changing "not jan == 1" to "jan != 1" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_arithmetic.py#L445
  71. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1034
  72. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1046
  73. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1061
  74. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1076
  75. no-member: Instance of 'Period' has no 'dayofyear' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/period/test_period.py#L1096
  76. no-member: Instance of 'timedelta' has no 'as_unit' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L975
  77. no-member: Instance of 'timedelta' has no 'as_unit' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L976
  78. no-member: Instance of 'timedelta' has no 'as_unit' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L994
  79. no-member: Instance of 'timedelta' has no 'as_unit' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L995
  80. unnecessary-negation: Consider changing "not td != pytd" to "td == pytd" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1021
  81. unnecessary-negation: Consider changing "not td < pytd" to "td >= pytd" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1022
  82. unnecessary-negation: Consider changing "not td > pytd" to "td <= pytd" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1023
  83. unnecessary-negation: Consider changing "not t < CustomClass(cmp_result=False)" to "t >= CustomClass(cmp_result=False)" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1130
  84. useless-suppression: Useless suppression of 'unnecessary-negation' https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1182
  85. redefined-variable-type: Redefinition of expected type from pandas.core.indexes.timedeltas.TimedeltaIndex to pandas._libs.tslibs.timedeltas.Timedelta https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L162
  86. redefined-variable-type: Redefinition of result type from pandas.core.indexes.timedeltas.TimedeltaIndex to pandas._libs.tslibs.timedeltas.Timedelta https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L165
  87. redefined-variable-type: Redefinition of tick type from pandas._libs.tslibs.offsets.Nano to pandas._libs.tslibs.offsets.Micro https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L242
  88. no-member: Instance of 'Timedelta' has no '_repr_base' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L433
  89. no-member: Instance of 'Timedelta' has no '_repr_base' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_constructors.py#L434
  90. no-member: Instance of 'timedelta' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L244
  91. no-member: Instance of 'timedelta' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L247
  92. no-member: Instance of 'timedelta' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L250
  93. invalid-unary-operand-type: bad operand type for unary ~: Timedelta https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L259
  94. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L263
  95. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L267
  96. no-member: Instance of 'Timedelta' has no 'components' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L392
  97. no-member: Instance of 'Timedelta' has no 'nanoseconds' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_timedelta.py#L664
  98. no-member: Instance of 'timedelta' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L70
  99. no-member: Instance of 'timedelta' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L74
  100. no-member: Instance of 'timedelta' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L82
  101. no-member: Instance of 'timedelta' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L84
  102. no-member: Instance of 'timedelta' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L88
  103. no-member: Instance of 'timedelta' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L90
  104. no-member: Instance of 'timedelta' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L121
  105. no-member: Instance of 'timedelta' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L126
  106. no-member: Instance of 'timedelta' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L131
  107. no-member: Instance of 'timedelta' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/methods/test_round.py#L135
  108. no-member: Instance of 'Timestamp' has no 'millisecond' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L104
  109. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L300
  110. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L300
  111. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L300
  112. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L300
  113. no-member: Class 'Timestamp' has no '_from_dt64' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L534
  114. no-member: Class 'Timestamp' has no '_from_dt64' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L640
  115. no-member: Class 'Timestamp' has no '_from_dt64' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L655
  116. no-member: Instance of 'datetime' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L881
  117. no-member: Instance of 'date' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L881
  118. no-member: Instance of 'date' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L884
  119. no-member: Instance of 'datetime' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L884
  120. no-member: Instance of 'timedelta' has no '_creso' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_timestamp.py#L887
  121. unnecessary-negation: Consider changing "not val != val" to "val == val" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L111
  122. unnecessary-negation: Consider changing "not val < val" to "val >= val" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L112
  123. unnecessary-negation: Consider changing "not val > val" to "val <= val" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L114
  124. unnecessary-negation: Consider changing "not val != other" to "val == other" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L119
  125. unnecessary-negation: Consider changing "not val < other" to "val >= other" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L120
  126. unnecessary-negation: Consider changing "not val > other" to "val <= other" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L122
  127. redefined-variable-type: Redefinition of other type from _pydatetime.datetime to pandas._libs.tslibs.timestamps.Timestamp https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L125
  128. unnecessary-negation: Consider changing "not val == 'foo'" to "val != 'foo'" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L137
  129. unnecessary-negation: Consider changing "not val == 10.0" to "val != 10.0" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L138
  130. unnecessary-negation: Consider changing "not val == 1" to "val != 1" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L139
  131. unnecessary-negation: Consider changing "not val == []" to "val != []" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L140
  132. use-implicit-booleaness-not-comparison: "val == []" can be simplified to "not val", if it is strictly a sequence, as an empty list is falsey https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L140
  133. unnecessary-negation: Consider changing "not val == {'foo': 1}" to "val != {'foo': 1}" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L141
  134. use-implicit-booleaness-not-comparison: "val != []" can be simplified to "val", if it is strictly a sequence, as an empty list is falsey https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L148
  135. unnecessary-negation: Consider changing "not left == right" to "left != right" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L163
  136. unnecessary-negation: Consider changing "not a == b" to "a != b" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L181
  137. unnecessary-negation: Consider changing "not b == a" to "b != a" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L192
  138. unnecessary-negation: Consider changing "not stamp == datetime(1600, 1, 1)" to "stamp != datetime(1600, 1, 1)" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L231
  139. unnecessary-negation: Consider changing "not stamp == datetime(2700, 1, 1)" to "stamp != datetime(2700, 1, 1)" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L232
  140. no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L241
  141. no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L241
  142. useless-suppression: Useless suppression of 'unnecessary-negation' https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L312
  143. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L776
  144. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L776
  145. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L778
  146. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L778
  147. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L779
  148. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L779
  149. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L781
  150. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_constructors.py#L781
  151. no-member: Instance of 'date' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L271
  152. no-member: Instance of 'datetime' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L271
  153. no-member: Instance of 'date' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L275
  154. no-member: Instance of 'datetime' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L275
  155. no-member: Instance of 'date' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L281
  156. no-member: Instance of 'datetime' has no 'floor' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L281
  157. no-member: Instance of 'date' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L284
  158. no-member: Instance of 'datetime' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L284
  159. no-member: Instance of 'date' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L288
  160. no-member: Instance of 'datetime' has no 'ceil' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L288
  161. no-member: Instance of 'date' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L291
  162. no-member: Instance of 'datetime' has no 'round' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L291
  163. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L321
  164. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L321
  165. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L326
  166. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L326
  167. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L331
  168. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L331
  169. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L335
  170. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_round.py#L335
  171. no-member: Instance of 'date' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L36
  172. no-member: Instance of 'datetime' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L36
  173. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L37
  174. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L37
  175. no-member: Instance of 'date' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L40
  176. no-member: Instance of 'datetime' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L40
  177. no-member: Instance of 'date' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L47
  178. no-member: Instance of 'datetime' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L47
  179. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L48
  180. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L48
  181. no-member: Instance of 'date' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L51
  182. no-member: Instance of 'datetime' has no 'tz_localize' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_tz_localize.py#L51
  183. no-member: Instance of 'date' has no 'nanosecond' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L60
  184. no-member: Instance of 'datetime' has no 'nanosecond' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L60
  185. no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L62
  186. no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L62
  187. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L66
  188. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L66
  189. no-member: Instance of 'date' has no 'nanosecond' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L69
  190. no-member: Instance of 'datetime' has no 'nanosecond' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L69
  191. no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L71
  192. no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L71
  193. no-member: Instance of 'date' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L80
  194. no-member: Instance of 'datetime' has no '_value' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_to_pydatetime.py#L80
  195. unexpected-keyword-arg: Unexpected keyword argument 'foo' in method call https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/methods/test_replace.py#L92
  196. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/indexes/test_old_base.py#L620
  197. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/indexes/test_old_base.py#L620
  198. invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/indexes/test_old_base.py#L620
  199. redefined-variable-type: Redefinition of offset type from pandas._libs.tslibs.offsets.Day to pandas._libs.tslibs.offsets.BusinessDay https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/indexes/period/test_period.py#L199
  200. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/indexes/interval/test_interval_tree.py#L94
  201. unpacking-non-sequence: Attempting to unpack a non-sequence https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/indexes/interval/test_interval_tree.py#L111
  202. no-member: Instance of 'IntervalTree' has no 'root' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/indexes/interval/test_interval_tree.py#L185
  203. no-member: Instance of 'IntervalTree' has no 'root' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247a...

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

This comment was generated for commit 48a0f25b6bb6fe5334935ecfd1c770876c8e04b9

github-actions[bot] avatar Feb 24 '24 14:02 github-actions[bot]

Yeah, we need something. Maybe we're back to the original question of whether this should be a separate message (possibly-used-before-assignment)?

jacobtylerwalls avatar Feb 26 '24 21:02 jacobtylerwalls

I like a new message because it's easier to configure pylint for it for a user. It get raised you disable it (thus we can make it opt-out without too much pain), or you need to learn about it and then enable it. Options, you need to at least learn what the possible choices are and that it exists.

Pierre-Sassoulas avatar Feb 26 '24 21:02 Pierre-Sassoulas

I think a new message is ideal. There will be situations where it's not possible for the linter to know if it's truly used before assignment. The point of the linter is to help the user as much as possible, in the way that they would like to be helped. For users who don't disable the new message type, pylint can inform of potential-but-maybe-not-actual issues without bothering other users who prefer to take on more risk or just want less noise.

milosivanovic avatar Feb 26 '24 22:02 milosivanovic

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

Effect on astroid: The following messages are now emitted:

  1. used-before-assignment: Using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/de942f3076ff3d1263b1e598c89a6bb31e4a27ea/astroid/nodes/node_classes.py#L1074

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

  1. used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/loader.py#L972
  2. used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/loader.py#L1158
  3. used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/awair/config_flow.py#L187
  4. used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/husqvarna_automower/diagnostics.py#L47
  5. used-before-assignment: Using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/google_assistant/trait.py#L830
  6. used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/neato/camera.py#L92
  7. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/climate/device_action.py#L99
  8. used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/climate/init.py#L704
  9. used-before-assignment: Using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/forked_daapd/media_player.py#L791
  10. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/forked_daapd/media_player.py#L863
  11. used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/steam_online/config_flow.py#L80
  12. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/plex/media_browser.py#L169
  13. used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/homeassistant/triggers/time.py#L116
  14. used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/homeassistant/triggers/time.py#L117
  15. used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/homeassistant/triggers/time.py#L118
  16. used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/config_flow.py#L118
  17. used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/config_flow.py#L127
  18. used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/config_flow.py#L152
  19. used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/init.py#L61
  20. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/script/config.py#L134
  21. used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/wemo/fan.py#L167
  22. used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/unifiprotect/media_source.py#L458
  23. used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/unifiprotect/media_source.py#L608
  24. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/omnilogic/sensor.py#L154
  25. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_action.py#L145
  26. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_condition.py#L141
  27. used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_condition.py#L158
  28. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/reproduce_state.py#L88
  29. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_trigger.py#L161
  30. used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_trigger.py#L178
  31. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/remote/reproduce_state.py#L56
  32. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarm_control_panel/device_action.py#L120
  33. used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarm_control_panel/device_condition.py#L131
  34. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarm_control_panel/reproduce_state.py#L84
  35. used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarm_control_panel/device_trigger.py#L149
  36. used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/recorder/util.py#L605
  37. used-before-assignment: Using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/recorder/system_health/init.py#L75
  38. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alert/reproduce_state.py#L54
  39. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/mysensors/climate.py#L178
  40. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/roon/media_player.py#L168
  41. used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/roon/event.py#L71
  42. used-before-assignment: Using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/islamic_prayer_times/init.py#L67
  43. used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/rflink/init.py#L547
  44. used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/dialogflow/init.py#L92
  45. used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/energy/sensor.py#L342
  46. used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/energy/sensor.py#L343
  47. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/automation/reproduce_state.py#L56
  48. used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/automation/config.py#L102
  49. used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/tado/sensor.py#L280
  50. used-before-assignment: Using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L94
  51. used-before-assignment: Using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yale_smart_alarm/lock.py#L91
  52. used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/dynalite/init.py#L79
  53. used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/nws/weather.py#L235
  54. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/switch/reproduce_state.py#L56
  55. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/timer/reproduce_state.py#L65
  56. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/water_heater/device_action.py#L79
  57. used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/google/calendar.py#L483
  58. used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/blackbird/media_player.py#L108
  59. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/lock/device_action.py#L90
  60. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/lock/reproduce_state.py#L58
  61. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/vacuum/device_action.py#L78
  62. used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/vacuum/reproduce_state.py#L88
  63. used-before-assignment: Using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/otbr/websocket_api.py#L172
  64. used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/emulated_kasa/init.py#L142
  65. used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/color_extractor/init.py#L108
  66. used-before-assignment: Using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/remote_rpi_gpio/init.py#L39
  67. used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/http/auth.py#L232
  68. used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/itunes/media_player.py#L74
  69. used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yeelight/light.py#L734
  70. used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yeelight/light.py#L742
  71. used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/helpers/deprecation.py#L289
  72. used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/helpers/update_coordinator.py#L398

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/8f171ab5023ee8f483fdd8e7437c06fdcccf1906/src_py/sysfont.py#L67
  2. used-before-assignment: Using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/8f171ab5023ee8f483fdd8e7437c06fdcccf1906/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. used-before-assignment: Using variable '_prefix' before assignment https://github.com/psf/black/blob/c8f1a5542c257491e1e093b1404481ece7f7e02c/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
  2. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
  3. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
  4. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
  5. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
  6. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
  7. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
  8. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
  9. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
  10. used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
  11. used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
  12. used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
  13. used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L249

Effect on pytest: The following messages are now emitted:

  1. used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/fixtures.py#L198
  2. used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/reports.py#L573
  3. used-before-assignment: Using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/config/init.py#L1355
  4. used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/assertion/rewrite.py#L1007

Effect on django: The following messages are now emitted:

  1. invalid-name: Attribute name "ALLOWED_HOSTS" doesn't conform to snake_case naming style https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/test/utils.py#L141
  2. invalid-name: Attribute name "DEBUG" doesn't conform to snake_case naming style https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/test/utils.py#L144
  3. invalid-name: Attribute name "EMAIL_BACKEND" doesn't conform to snake_case naming style https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/test/utils.py#L147
  4. invalid-name: Attribute name "MIGRATION_MODULES" doesn't conform to snake_case naming style https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/base/creation.py#L72
  5. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/template/defaulttags.py#L662
  6. used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/core/management/commands/makemessages.py#L126
  7. used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/transaction.py#L245
  8. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/sqlite3/creation.py#L43
  9. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/oracle/creation.py#L48
  10. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/oracle/creation.py#L174
  11. used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/base/creation.py#L217
  12. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/migrations/migration.py#L135
  13. used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/migrations/migration.py#L196
  14. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/models/base.py#L542
  15. used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/contrib/gis/utils/layermapping.py#L686

Effect on pandas: The following messages are now emitted:

  1. used-before-assignment: Using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/generic.py#L4107
  2. used-before-assignment: Using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/missing.py#L125
  3. used-before-assignment: Using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/missing.py#L252
  4. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/string_arrow.py#L135
  5. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/string_arrow.py#L138
  6. used-before-assignment: Using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/string_arrow.py#L349
  7. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/_arrow_string_mixins.py#L33
  8. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/_arrow_string_mixins.py#L60
  9. used-before-assignment: Using variable 'ARROW_CMP_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L704
  10. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L744
  11. used-before-assignment: Using variable 'ARROW_LOGICAL_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L768
  12. used-before-assignment: Using variable 'ARROW_BIT_WISE_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L784
  13. used-before-assignment: Using variable 'ARROW_ARITHMETIC_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L789
  14. used-before-assignment: Using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/accessors.py#L49
  15. used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/accessors.py#L81
  16. used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/accessors.py#L112
  17. used-before-assignment: Using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/indexes/base.py#L4632
  18. used-before-assignment: Using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/indexes/datetimelike.py#L275
  19. used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/array_algos/take.py#L244
  20. used-before-assignment: Using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/merge.py#L1796
  21. used-before-assignment: Using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/merge.py#L1796
  22. used-before-assignment: Using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/pivot.py#L231
  23. used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/eval.py#L171
  24. used-before-assignment: Using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/pytables.py#L165
  25. used-before-assignment: Using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/expressions.py#L64
  26. used-before-assignment: Using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/groupby/groupby.py#L5052
  27. used-before-assignment: Using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/groupby/groupby.py#L5460

Effect on sentry: The following messages are now emitted:

  1. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L19
  2. no-member: Class 'ProjectKey' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L522
  3. no-member: Class 'GroupResolution' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L2038
  4. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/constants.py#L16
  5. no-member: Class 'ProjectOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/reprocessing.py#L43
  6. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/occurrence_consumer.py#L10
  7. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/occurrence_consumer.py#L10
  8. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/issue_occurrence.py#L9
  9. no-member: Class 'GroupSnooze' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/receivers.py#L16
  10. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L1
  11. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L1
  12. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L7
  13. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L7
  14. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L4
  15. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ingest.py#L54
  16. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ignored.py#L9
  17. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ignored.py#L9
  18. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/organization_group_index.py#L6
  19. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/organization_group_index.py#L6
  20. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/group_events.py#L7
  21. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/group_events.py#L7
  22. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/organization_release_previous_commits.py#L36
  23. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/logging/handlers.py#L4
  24. no-member: Class 'Project' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/rules/helpers/latest_releases.py#L25
  25. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/tasks/boost_low_volume_transactions.py#L165
  26. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/tasks/recalibrate_orgs.py#L88
  27. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/tasks/boost_low_volume_projects.py#L247
  28. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L11
  29. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L11
  30. no-member: Class 'ProjectTransactionThreshold' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L863
  31. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L11
  32. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L11
  33. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L397
  34. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L494
  35. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L507
  36. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/events/builder/discover.py#L10
  37. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/events/builder/metrics.py#L9
  38. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/events/datasets/discover.py#L6
  39. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/events/datasets/metrics.py#L5
  40. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L14
  41. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L14
  42. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L15
  43. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/executors.py#L16
  44. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/executors.py#L16
  45. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/mail/notifications.py#L8
  46. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L11
  47. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L11
  48. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L203
  49. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/history/preview.py#L8
  50. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/history/preview.py#L8
  51. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L45
  52. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L77
  53. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L107
  54. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L131
  55. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L199
  56. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_severity.py#L73
  57. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L8
  58. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L8
  59. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L88
  60. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L4
  61. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L4
  62. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L45
  63. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_release.py#L34
  64. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_release.py#L71
  65. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_category.py#L47
  66. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/actions/utils.py#L119
  67. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/actions/utils.py#L129
  68. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/conditions/event_frequency.py#L13
  69. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/conditions/event_frequency.py#L13
  70. no-name-in-module: No name 'validators' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/stacktraces/functions.py#L8
  71. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/analytics/event.py#L9
  72. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/analytics/event.py#L9
  73. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/types.py#L5
  74. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/types.py#L6
  75. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/validators.py#L6
  76. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/validators.py#L6
  77. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L17
  78. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L17
  79. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L383
  80. no-member: Class 'MonitorIncident' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L668
  81. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/testutils.py#L4
  82. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/testutils.py#L4
  83. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L1
  84. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L1
  85. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L7
  86. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L4
  87. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/utils.py#L5
  88. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/utils.py#L5
  89. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base_monitor_details.py#L6
  90. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L60
  91. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L65
  92. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L80
  93. no-member: Class 'MonitorEnvironment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L80
  94. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L123
  95. no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L148
  96. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L178
  97. no-member: Class 'MonitorEnvironment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L178
  98. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L191
  99. no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L216
  100. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/organization_monitor_schedule_sample_data.py#L8
  101. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/organization_monitor_schedule_sample_data.py#L8
  102. import-error: Unable to import 'django.core.files.uploadedfile' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L5
  103. no-name-in-module: No name 'uploadedfile' in module 'django.core.files' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L5
  104. no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L84
  105. no-member: Class 'Project' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L84
  106. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L99
  107. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L99
  108. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L112
  109. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/logic/mark_failed.py#L92
  110. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/tasks/detect_broken_monitor_envs.py#L12
  111. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/tasks/detect_broken_monitor_envs.py#L12
  112. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/tasks/detect_broken_monitor_envs.py#L130
  113. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L11
  114. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L11
  115. no-member: Class 'ControlOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L194
  116. no-member: Class 'Option' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L194
  117. no-member: Class 'ControlOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L222
  118. no-member: Class 'Option' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L222
  119. no-name-in-module: No name 'signals' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/init.py#L2
  120. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L1
  121. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L1
  122. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L7
  123. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L7
  124. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L4
  125. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/plugin.py#L7
  126. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L1
  127. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L1
  128. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L7
  129. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L7
  130. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L4
  131. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/interfaces/releasehook.py#L4
  132. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/interfaces/releasehook.py#L4
  133. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L1
  134. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L1
  135. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L7
  136. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L7
  137. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L4
  138. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L1
  139. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L1
  140. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L7
  141. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L7
  142. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L4
  143. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/base/configuration.py#L4
  144. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/base/configuration.py#L5
  145. import-error: Unable to import 'django.utils.html' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue2.py#L5
  146. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue2.py#L5
  147. import-error: Unable to import 'django.utils.html' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue.py#L5
  148. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue.py#L5
  149. no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L74
  150. no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L80
  151. no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L229
  152. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/buffer/redis.py#L10
  153. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/buffer/base.py#L101
  154. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/models.py#L3
  155. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/models.py#L3
  156. no-member: Class 'Project' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/usecases/ingest/init.py#L150
  157. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/migrations/0001_init_replays.py#L3
  158. no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/migrations/0001_init_replays.py#L48
  159. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L5
  160. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L5
  161. no-member: Class 'Repository' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L92
  162. no-member: Class 'Repository' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L209
  163. no-member: Class 'ReleaseProject' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L283
  164. no-member: Class 'OrganizationMember' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/owners.py#L19
  165. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/onboarding.py#L7
  166. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/onboarding.py#L7
  167. no-value-for-parameter: No value for argument 'cls' in unbound method call https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/conf/urls.py#L10
  168. no-value-for-parameter: No value for argument 'cls' in unbound method call https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/conf/urls.py#L11
  169. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/security.py#L1
  170. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/contexts.py#L6
  171. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/base.py#L8
  172. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/stacktrace.py#L5
  173. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/http.py#L5
  174. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/base.py#L9
  175. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/backend.py#L10
  176. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/backend.py#L10
  177. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/models.py#L2
  178. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/models.py#L2
  179. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/migrations/0001_initial.py#L1
  180. no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/migrations/0001_initial.py#L19
  181. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/feedback/models.py#L2
  182. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/feedback/models.py#L2
  183. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/feedback/migrations/0001_feedback.py#L3
  184. no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/feedback/migrations/0001_feedback.py#L45
  185. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/auth.py#L15
  186. arguments-differ: Variadics removed in overriding 'EmailAuthBackend.authenticate' method https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/auth.py#L414
  187. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/groupreference.py#L24
  188. assignment-from-no-return: Assigning result of a function call, where the function has no return https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/db.py#L48
  189. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/committers.py#L193
  190. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/committers.py#L244
  191. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/committers.py#L248
  192. no-member: Class 'Commit' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/committers.py#L252
  193. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/versioning.py#L1
  194. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/redis.py#L10
  195. no-name-in-module: No name 'validators' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/avatar.py#L13
  196. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/bl...

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

This comment was generated for commit 35fb7d25796d316775362c9ee1277201ae6036e5

github-actions[bot] avatar Apr 06 '24 01:04 github-actions[bot]

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

Effect on astroid: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/de942f3076ff3d1263b1e598c89a6bb31e4a27ea/astroid/nodes/node_classes.py#L1074

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

  1. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/loader.py#L972
  2. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/loader.py#L1158
  3. possibly-used-before-assignment: Possibly using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/awair/config_flow.py#L187
  4. used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/husqvarna_automower/diagnostics.py#L47
  5. possibly-used-before-assignment: Possibly using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/google_assistant/trait.py#L830
  6. possibly-used-before-assignment: Possibly using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/neato/camera.py#L92
  7. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/climate/device_action.py#L99
  8. possibly-used-before-assignment: Possibly using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/climate/init.py#L704
  9. possibly-used-before-assignment: Possibly using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/forked_daapd/media_player.py#L791
  10. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/forked_daapd/media_player.py#L863
  11. possibly-used-before-assignment: Possibly using variable 'name' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/steam_online/config_flow.py#L80
  12. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/plex/media_browser.py#L169
  13. possibly-used-before-assignment: Possibly using variable 'year' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/homeassistant/triggers/time.py#L116
  14. possibly-used-before-assignment: Possibly using variable 'month' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/homeassistant/triggers/time.py#L117
  15. possibly-used-before-assignment: Possibly using variable 'day' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/homeassistant/triggers/time.py#L118
  16. possibly-used-before-assignment: Possibly using variable 'device' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/config_flow.py#L118
  17. possibly-used-before-assignment: Possibly using variable 'title' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/config_flow.py#L127
  18. possibly-used-before-assignment: Possibly using variable 'schema' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/config_flow.py#L152
  19. possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/init.py#L61
  20. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/script/config.py#L134
  21. possibly-used-before-assignment: Possibly using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/wemo/fan.py#L167
  22. possibly-used-before-assignment: Possibly using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/unifiprotect/media_source.py#L458
  23. possibly-used-before-assignment: Possibly using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/unifiprotect/media_source.py#L608
  24. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/omnilogic/sensor.py#L154
  25. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_action.py#L145
  26. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_condition.py#L141
  27. possibly-used-before-assignment: Possibly using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_condition.py#L158
  28. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/reproduce_state.py#L88
  29. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_trigger.py#L161
  30. possibly-used-before-assignment: Possibly using variable 'position' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_trigger.py#L178
  31. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/remote/reproduce_state.py#L56
  32. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarm_control_panel/device_action.py#L120
  33. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarm_control_panel/device_condition.py#L131
  34. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarm_control_panel/reproduce_state.py#L84
  35. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarm_control_panel/device_trigger.py#L149
  36. possibly-used-before-assignment: Possibly using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/recorder/util.py#L605
  37. possibly-used-before-assignment: Possibly using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/recorder/system_health/init.py#L75
  38. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alert/reproduce_state.py#L54
  39. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/mysensors/climate.py#L178
  40. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/roon/media_player.py#L168
  41. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/roon/event.py#L71
  42. possibly-used-before-assignment: Possibly using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/islamic_prayer_times/init.py#L67
  43. possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/rflink/init.py#L547
  44. possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/dialogflow/init.py#L92
  45. possibly-used-before-assignment: Possibly using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/energy/sensor.py#L342
  46. possibly-used-before-assignment: Possibly using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/energy/sensor.py#L343
  47. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/automation/reproduce_state.py#L56
  48. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/automation/config.py#L102
  49. possibly-used-before-assignment: Possibly using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/tado/sensor.py#L280
  50. possibly-used-before-assignment: Possibly using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L94
  51. possibly-used-before-assignment: Possibly using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yale_smart_alarm/lock.py#L91
  52. possibly-used-before-assignment: Possibly using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/dynalite/init.py#L79
  53. possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/nws/weather.py#L235
  54. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/switch/reproduce_state.py#L56
  55. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/timer/reproduce_state.py#L65
  56. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/water_heater/device_action.py#L79
  57. possibly-used-before-assignment: Possibly using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/google/calendar.py#L483
  58. possibly-used-before-assignment: Possibly using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/blackbird/media_player.py#L108
  59. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/lock/device_action.py#L90
  60. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/lock/reproduce_state.py#L58
  61. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/vacuum/device_action.py#L78
  62. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/vacuum/reproduce_state.py#L88
  63. possibly-used-before-assignment: Possibly using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/otbr/websocket_api.py#L172
  64. possibly-used-before-assignment: Possibly using variable 'power' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/emulated_kasa/init.py#L142
  65. possibly-used-before-assignment: Possibly using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/color_extractor/init.py#L102
  66. possibly-used-before-assignment: Possibly using variable 'color' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/color_extractor/init.py#L108
  67. possibly-used-before-assignment: Possibly using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/remote_rpi_gpio/init.py#L39
  68. possibly-used-before-assignment: Possibly using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/http/auth.py#L232
  69. possibly-used-before-assignment: Possibly using variable 'response' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/itunes/media_player.py#L74
  70. possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yeelight/light.py#L734
  71. possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yeelight/light.py#L742
  72. possibly-used-before-assignment: Possibly using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/helpers/deprecation.py#L289
  73. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/helpers/update_coordinator.py#L398

The following messages are no longer emitted:

  1. used-before-assignment: Using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/color_extractor/init.py#L102

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/8f171ab5023ee8f483fdd8e7437c06fdcccf1906/src_py/sysfont.py#L67
  2. possibly-used-before-assignment: Possibly using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/8f171ab5023ee8f483fdd8e7437c06fdcccf1906/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable '_prefix' before assignment https://github.com/psf/black/blob/c8f1a5542c257491e1e093b1404481ece7f7e02c/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
  2. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
  3. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
  4. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
  5. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
  6. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
  7. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
  8. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
  9. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
  10. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
  11. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
  12. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
  13. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L249

Effect on pytest: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/fixtures.py#L198
  2. possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/reports.py#L573
  3. possibly-used-before-assignment: Possibly using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/config/init.py#L1355
  4. possibly-used-before-assignment: Possibly using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/assertion/rewrite.py#L1007

Effect on django: The following messages are now emitted:

  1. invalid-name: Attribute name "ALLOWED_HOSTS" doesn't conform to snake_case naming style https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/test/utils.py#L141
  2. invalid-name: Attribute name "DEBUG" doesn't conform to snake_case naming style https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/test/utils.py#L144
  3. invalid-name: Attribute name "EMAIL_BACKEND" doesn't conform to snake_case naming style https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/test/utils.py#L147
  4. invalid-name: Attribute name "MIGRATION_MODULES" doesn't conform to snake_case naming style https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/base/creation.py#L72
  5. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/template/defaulttags.py#L662
  6. possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/core/management/commands/makemessages.py#L126
  7. possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/transaction.py#L245
  8. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/sqlite3/creation.py#L43
  9. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/oracle/creation.py#L48
  10. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/oracle/creation.py#L174
  11. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/base/creation.py#L217
  12. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/migrations/migration.py#L135
  13. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/migrations/migration.py#L196
  14. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/models/base.py#L542
  15. possibly-used-before-assignment: Possibly using variable 'progress_interval' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/contrib/gis/utils/layermapping.py#L686

Effect on pandas: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/generic.py#L4107
  2. possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/missing.py#L125
  3. possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/missing.py#L252
  4. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/string_arrow.py#L135
  5. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/string_arrow.py#L138
  6. possibly-used-before-assignment: Possibly using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/string_arrow.py#L349
  7. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/_arrow_string_mixins.py#L33
  8. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/_arrow_string_mixins.py#L60
  9. possibly-used-before-assignment: Possibly using variable 'ARROW_CMP_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L704
  10. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L744
  11. possibly-used-before-assignment: Possibly using variable 'ARROW_LOGICAL_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L768
  12. possibly-used-before-assignment: Possibly using variable 'ARROW_BIT_WISE_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L784
  13. possibly-used-before-assignment: Possibly using variable 'ARROW_ARITHMETIC_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L789
  14. possibly-used-before-assignment: Possibly using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/accessors.py#L49
  15. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/accessors.py#L81
  16. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/accessors.py#L112
  17. possibly-used-before-assignment: Possibly using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/indexes/base.py#L4632
  18. possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/indexes/datetimelike.py#L275
  19. used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/array_algos/take.py#L244
  20. possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/merge.py#L1796
  21. possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/merge.py#L1796
  22. possibly-used-before-assignment: Possibly using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/pivot.py#L231
  23. possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/eval.py#L171
  24. possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/pytables.py#L165
  25. possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/expressions.py#L64
  26. possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/groupby/groupby.py#L5052
  27. possibly-used-before-assignment: Possibly using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/groupby/groupby.py#L5460

Effect on sentry: The following messages are now emitted:

  1. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L19
  2. no-member: Class 'ProjectKey' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L522
  3. no-member: Class 'GroupResolution' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L2038
  4. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/constants.py#L16
  5. no-member: Class 'ProjectOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/reprocessing.py#L43
  6. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/occurrence_consumer.py#L10
  7. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/occurrence_consumer.py#L10
  8. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/issue_occurrence.py#L9
  9. no-member: Class 'GroupSnooze' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/receivers.py#L16
  10. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L1
  11. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L1
  12. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L7
  13. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L7
  14. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L4
  15. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ingest.py#L54
  16. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ignored.py#L9
  17. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ignored.py#L9
  18. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/organization_group_index.py#L6
  19. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/organization_group_index.py#L6
  20. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/group_events.py#L7
  21. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/group_events.py#L7
  22. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/organization_release_previous_commits.py#L36
  23. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/logging/handlers.py#L4
  24. no-member: Class 'Project' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/rules/helpers/latest_releases.py#L25
  25. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/tasks/boost_low_volume_transactions.py#L165
  26. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/tasks/recalibrate_orgs.py#L88
  27. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/tasks/boost_low_volume_projects.py#L247
  28. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L11
  29. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L11
  30. no-member: Class 'ProjectTransactionThreshold' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L863
  31. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L11
  32. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L11
  33. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L397
  34. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L494
  35. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L507
  36. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/events/builder/discover.py#L10
  37. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/events/builder/metrics.py#L9
  38. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/events/datasets/discover.py#L6
  39. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/events/datasets/metrics.py#L5
  40. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L14
  41. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L14
  42. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L15
  43. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/executors.py#L16
  44. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/executors.py#L16
  45. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/mail/notifications.py#L8
  46. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L11
  47. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L11
  48. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L203
  49. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/history/preview.py#L8
  50. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/history/preview.py#L8
  51. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L45
  52. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L77
  53. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L107
  54. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L131
  55. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_adopted_release_filter.py#L199
  56. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_severity.py#L73
  57. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L8
  58. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L8
  59. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L88
  60. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L4
  61. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L4
  62. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L45
  63. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_release.py#L34
  64. no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_release.py#L71
  65. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_category.py#L47
  66. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/actions/utils.py#L119
  67. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/actions/utils.py#L129
  68. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/conditions/event_frequency.py#L13
  69. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/conditions/event_frequency.py#L13
  70. no-name-in-module: No name 'validators' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/stacktraces/functions.py#L8
  71. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/analytics/event.py#L9
  72. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/analytics/event.py#L9
  73. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/types.py#L5
  74. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/types.py#L6
  75. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/validators.py#L6
  76. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/validators.py#L6
  77. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L17
  78. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L17
  79. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L383
  80. no-member: Class 'MonitorIncident' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L668
  81. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/testutils.py#L4
  82. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/testutils.py#L4
  83. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L1
  84. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L1
  85. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L7
  86. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L4
  87. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/utils.py#L5
  88. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/utils.py#L5
  89. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base_monitor_details.py#L6
  90. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L60
  91. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L65
  92. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L80
  93. no-member: Class 'MonitorEnvironment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L80
  94. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L123
  95. no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L148
  96. no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L178
  97. no-member: Class 'MonitorEnvironment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L178
  98. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L191
  99. no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L216
  100. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/organization_monitor_schedule_sample_data.py#L8
  101. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/organization_monitor_schedule_sample_data.py#L8
  102. import-error: Unable to import 'django.core.files.uploadedfile' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L5
  103. no-name-in-module: No name 'uploadedfile' in module 'django.core.files' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L5
  104. no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L84
  105. no-member: Class 'Project' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L84
  106. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L99
  107. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L99
  108. no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/monitor_ingest_checkin_attachment.py#L112
  109. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/logic/mark_failed.py#L92
  110. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/tasks/detect_broken_monitor_envs.py#L12
  111. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/tasks/detect_broken_monitor_envs.py#L12
  112. no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/tasks/detect_broken_monitor_envs.py#L130
  113. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L11
  114. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L11
  115. no-member: Class 'ControlOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L194
  116. no-member: Class 'Option' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L194
  117. no-member: Class 'ControlOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L222
  118. no-member: Class 'Option' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L222
  119. no-name-in-module: No name 'signals' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/init.py#L2
  120. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L1
  121. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L1
  122. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L7
  123. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L7
  124. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L4
  125. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/plugin.py#L7
  126. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L1
  127. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L1
  128. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L7
  129. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L7
  130. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L4
  131. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/interfaces/releasehook.py#L4
  132. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/interfaces/releasehook.py#L4
  133. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L1
  134. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L1
  135. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L7
  136. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L7
  137. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L4
  138. import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L1
  139. no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L1
  140. missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L7
  141. no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L7
  142. too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L4
  143. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/base/configuration.py#L4
  144. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/base/configuration.py#L5
  145. import-error: Unable to import 'django.utils.html' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue2.py#L5
  146. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue2.py#L5
  147. import-error: Unable to import 'django.utils.html' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue.py#L5
  148. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue.py#L5
  149. no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L74
  150. no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L80
  151. no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L229
  152. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/buffer/redis.py#L10
  153. no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/buffer/base.py#L101
  154. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/models.py#L3
  155. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/models.py#L3
  156. no-member: Class 'Project' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/usecases/ingest/init.py#L150
  157. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/migrations/0001_init_replays.py#L3
  158. no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/migrations/0001_init_replays.py#L48
  159. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L5
  160. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L5
  161. no-member: Class 'Repository' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L92
  162. no-member: Class 'Repository' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L209
  163. no-member: Class 'ReleaseProject' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L283
  164. no-member: Class 'OrganizationMember' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/owners.py#L19
  165. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/onboarding.py#L7
  166. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/onboarding.py#L7
  167. no-value-for-parameter: No value for argument 'cls' in unbound method call https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/conf/urls.py#L10
  168. no-value-for-parameter: No value for argument 'cls' in unbound method call https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/conf/urls.py#L11
  169. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/security.py#L1
  170. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/contexts.py#L6
  171. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/base.py#L8
  172. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/stacktrace.py#L5
  173. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/http.py#L5
  174. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/base.py#L9
  175. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/backend.py#L10
  176. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/backend.py#L10
  177. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/models.py#L2
  178. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/models.py#L2
  179. no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/migrations/0001_initial.py#L1
  180. no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/migrations/0001_initial.py#L19
  181. import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/feed...

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

This comment was generated for commit 76fe5cae631b28cb5369f773fb208115935029ff

github-actions[bot] avatar Apr 06 '24 01:04 github-actions[bot]

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

Effect on astroid: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/7a3b482b9673243d2ccc895672eb1e452f5daa82/astroid/nodes/node_classes.py#L1074

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

  1. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/loader.py#L969
  2. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/loader.py#L1155
  3. possibly-used-before-assignment: Possibly using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/awair/config_flow.py#L187
  4. used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/husqvarna_automower/diagnostics.py#L47
  5. possibly-used-before-assignment: Possibly using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/google_assistant/trait.py#L830
  6. possibly-used-before-assignment: Possibly using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/neato/camera.py#L92
  7. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/climate/device_action.py#L99
  8. possibly-used-before-assignment: Possibly using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/climate/init.py#L700
  9. possibly-used-before-assignment: Possibly using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/forked_daapd/media_player.py#L791
  10. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/forked_daapd/media_player.py#L863
  11. possibly-used-before-assignment: Possibly using variable 'name' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/steam_online/config_flow.py#L80
  12. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/plex/media_browser.py#L169
  13. possibly-used-before-assignment: Possibly using variable 'year' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/homeassistant/triggers/time.py#L116
  14. possibly-used-before-assignment: Possibly using variable 'month' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/homeassistant/triggers/time.py#L117
  15. possibly-used-before-assignment: Possibly using variable 'day' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/homeassistant/triggers/time.py#L118
  16. possibly-used-before-assignment: Possibly using variable 'device' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/config_flow.py#L118
  17. possibly-used-before-assignment: Possibly using variable 'title' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/config_flow.py#L127
  18. possibly-used-before-assignment: Possibly using variable 'schema' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/config_flow.py#L152
  19. possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/init.py#L61
  20. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/script/config.py#L134
  21. possibly-used-before-assignment: Possibly using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/wemo/fan.py#L167
  22. possibly-used-before-assignment: Possibly using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/unifiprotect/media_source.py#L456
  23. possibly-used-before-assignment: Possibly using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/unifiprotect/media_source.py#L606
  24. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/omnilogic/sensor.py#L154
  25. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_action.py#L145
  26. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_condition.py#L141
  27. possibly-used-before-assignment: Possibly using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_condition.py#L158
  28. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/reproduce_state.py#L88
  29. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_trigger.py#L161
  30. possibly-used-before-assignment: Possibly using variable 'position' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_trigger.py#L178
  31. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/remote/reproduce_state.py#L56
  32. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarm_control_panel/device_action.py#L120
  33. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarm_control_panel/device_condition.py#L131
  34. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarm_control_panel/reproduce_state.py#L84
  35. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarm_control_panel/device_trigger.py#L149
  36. possibly-used-before-assignment: Possibly using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/recorder/util.py#L605
  37. possibly-used-before-assignment: Possibly using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/recorder/system_health/init.py#L75
  38. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alert/reproduce_state.py#L54
  39. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/mysensors/climate.py#L178
  40. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/roon/media_player.py#L168
  41. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/roon/event.py#L71
  42. possibly-used-before-assignment: Possibly using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/islamic_prayer_times/init.py#L67
  43. possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/rflink/init.py#L547
  44. possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/dialogflow/init.py#L92
  45. possibly-used-before-assignment: Possibly using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/energy/sensor.py#L342
  46. possibly-used-before-assignment: Possibly using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/energy/sensor.py#L343
  47. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/automation/reproduce_state.py#L56
  48. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/automation/config.py#L102
  49. possibly-used-before-assignment: Possibly using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/tado/sensor.py#L280
  50. possibly-used-before-assignment: Possibly using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L94
  51. possibly-used-before-assignment: Possibly using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yale_smart_alarm/lock.py#L91
  52. possibly-used-before-assignment: Possibly using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/dynalite/init.py#L79
  53. possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/nws/weather.py#L235
  54. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/switch/reproduce_state.py#L56
  55. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/timer/reproduce_state.py#L65
  56. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/water_heater/device_action.py#L79
  57. possibly-used-before-assignment: Possibly using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/google/calendar.py#L483
  58. possibly-used-before-assignment: Possibly using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/blackbird/media_player.py#L108
  59. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/lock/device_action.py#L90
  60. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/lock/reproduce_state.py#L58
  61. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/vacuum/device_action.py#L78
  62. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/vacuum/reproduce_state.py#L88
  63. possibly-used-before-assignment: Possibly using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/otbr/websocket_api.py#L172
  64. possibly-used-before-assignment: Possibly using variable 'power' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/emulated_kasa/init.py#L142
  65. possibly-used-before-assignment: Possibly using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/color_extractor/init.py#L86
  66. possibly-used-before-assignment: Possibly using variable 'color' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/color_extractor/init.py#L92
  67. possibly-used-before-assignment: Possibly using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/remote_rpi_gpio/init.py#L39
  68. possibly-used-before-assignment: Possibly using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/http/auth.py#L232
  69. possibly-used-before-assignment: Possibly using variable 'response' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/itunes/media_player.py#L74
  70. possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yeelight/light.py#L734
  71. possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yeelight/light.py#L742
  72. possibly-used-before-assignment: Possibly using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/helpers/deprecation.py#L303
  73. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/helpers/update_coordinator.py#L398

The following messages are no longer emitted:

  1. used-before-assignment: Using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/color_extractor/init.py#L86

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/9cb30af95d9143dbbf52c13817753c54d5d2f5fe/src_py/sysfont.py#L67
  2. possibly-used-before-assignment: Possibly using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/9cb30af95d9143dbbf52c13817753c54d5d2f5fe/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable '_prefix' before assignment https://github.com/psf/black/blob/6b25e7cdabe2cd0dc2ec9d0009668af085b1e732/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
  2. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
  3. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
  4. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
  5. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
  6. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
  7. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
  8. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
  9. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
  10. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
  11. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
  12. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
  13. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L249

Effect on pytest: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/fixtures.py#L198
  2. possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/reports.py#L573
  3. possibly-used-before-assignment: Possibly using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/assertion/rewrite.py#L1007
  4. possibly-used-before-assignment: Possibly using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/config/init.py#L1355

Effect on django: The following messages are now emitted:

  1. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/template/defaulttags.py#L662
  2. possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/core/management/commands/makemessages.py#L126
  3. possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/transaction.py#L245
  4. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/sqlite3/creation.py#L43
  5. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L48
  6. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L174
  7. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/base/creation.py#L217
  8. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/migrations/migration.py#L135
  9. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/migrations/migration.py#L196
  10. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/models/base.py#L542
  11. possibly-used-before-assignment: Possibly using variable 'progress_interval' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/contrib/gis/utils/layermapping.py#L686

Effect on pandas: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/generic.py#L4107
  2. possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L125
  3. possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L252
  4. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/string_arrow.py#L135
  5. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/string_arrow.py#L138
  6. possibly-used-before-assignment: Possibly using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/string_arrow.py#L349
  7. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/_arrow_string_mixins.py#L33
  8. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/_arrow_string_mixins.py#L60
  9. possibly-used-before-assignment: Possibly using variable 'ARROW_CMP_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L704
  10. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L744
  11. possibly-used-before-assignment: Possibly using variable 'ARROW_LOGICAL_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L768
  12. possibly-used-before-assignment: Possibly using variable 'ARROW_BIT_WISE_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L784
  13. possibly-used-before-assignment: Possibly using variable 'ARROW_ARITHMETIC_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L789
  14. possibly-used-before-assignment: Possibly using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/accessors.py#L49
  15. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/accessors.py#L81
  16. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/accessors.py#L112
  17. possibly-used-before-assignment: Possibly using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/indexes/base.py#L4631
  18. possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/indexes/datetimelike.py#L275
  19. used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/array_algos/take.py#L244
  20. possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
  21. possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
  22. possibly-used-before-assignment: Possibly using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/pivot.py#L231
  23. possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/eval.py#L171
  24. possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/pytables.py#L165
  25. possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/expressions.py#L64
  26. possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/groupby/groupby.py#L5052
  27. possibly-used-before-assignment: Possibly using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/groupby/groupby.py#L5460

Effect on sentry: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'freq_delta' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/api/helpers/span_analysis.py#L86
  2. possibly-used-before-assignment: Possibly using variable 'duration_delta' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/api/helpers/span_analysis.py#L87
  3. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/integrations/slack/webhooks/action.py#L540
  4. possibly-used-before-assignment: Possibly using variable 'values' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/integrations/slack/webhooks/action.py#L542
  5. possibly-used-before-assignment: Possibly using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/snuba/metrics_layer/query.py#L297
  6. possibly-used-before-assignment: Possibly using variable 'sentry_app_map' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/incidents/endpoints/organization_alert_rule_details.py#L76
  7. possibly-used-before-assignment: Possibly using variable 'organization' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  8. possibly-used-before-assignment: Possibly using variable 'integration' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  9. possibly-used-before-assignment: Possibly using variable 'subscriptions_by_team_id' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/models/groupsubscription.py#L206

Effect on psycopg: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/waiting.py#L414
  2. possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/connection_async.py#L337
  3. possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/connection.py#L321

Effect on coverage: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/phystokens.py#L162
  2. possibly-used-before-assignment: Possibly using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/env.py#L76
  3. possibly-used-before-assignment: Possibly using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L263
  4. possibly-used-before-assignment: Possibly using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L265
  5. possibly-used-before-assignment: Possibly using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L267
  6. possibly-used-before-assignment: Possibly using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L143
  7. possibly-used-before-assignment: Possibly using variable 'arcs_executed' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L150

This comment was generated for commit 282150b34a1a491fd16d0e2cf2f9bc656ba8a4d3

github-actions[bot] avatar Apr 09 '24 00:04 github-actions[bot]

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

Effect on astroid: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/7a3b482b9673243d2ccc895672eb1e452f5daa82/astroid/nodes/node_classes.py#L1074

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

  1. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/loader.py#L969
  2. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/loader.py#L1155
  3. possibly-used-before-assignment: Possibly using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/awair/config_flow.py#L187
  4. used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/husqvarna_automower/diagnostics.py#L47
  5. possibly-used-before-assignment: Possibly using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/google_assistant/trait.py#L830
  6. possibly-used-before-assignment: Possibly using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/neato/camera.py#L92
  7. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/climate/device_action.py#L99
  8. possibly-used-before-assignment: Possibly using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/climate/init.py#L700
  9. possibly-used-before-assignment: Possibly using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/forked_daapd/media_player.py#L791
  10. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/forked_daapd/media_player.py#L863
  11. possibly-used-before-assignment: Possibly using variable 'name' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/steam_online/config_flow.py#L80
  12. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/plex/media_browser.py#L169
  13. possibly-used-before-assignment: Possibly using variable 'year' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/homeassistant/triggers/time.py#L116
  14. possibly-used-before-assignment: Possibly using variable 'month' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/homeassistant/triggers/time.py#L117
  15. possibly-used-before-assignment: Possibly using variable 'day' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/homeassistant/triggers/time.py#L118
  16. possibly-used-before-assignment: Possibly using variable 'device' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/config_flow.py#L118
  17. possibly-used-before-assignment: Possibly using variable 'title' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/config_flow.py#L127
  18. possibly-used-before-assignment: Possibly using variable 'schema' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/config_flow.py#L152
  19. possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/init.py#L61
  20. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/script/config.py#L134
  21. possibly-used-before-assignment: Possibly using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/wemo/fan.py#L167
  22. possibly-used-before-assignment: Possibly using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/unifiprotect/media_source.py#L456
  23. possibly-used-before-assignment: Possibly using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/unifiprotect/media_source.py#L606
  24. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/omnilogic/sensor.py#L154
  25. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_action.py#L145
  26. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_condition.py#L141
  27. possibly-used-before-assignment: Possibly using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_condition.py#L158
  28. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/reproduce_state.py#L88
  29. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_trigger.py#L161
  30. possibly-used-before-assignment: Possibly using variable 'position' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/cover/device_trigger.py#L178
  31. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/remote/reproduce_state.py#L56
  32. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarm_control_panel/device_action.py#L120
  33. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarm_control_panel/device_condition.py#L131
  34. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarm_control_panel/reproduce_state.py#L84
  35. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarm_control_panel/device_trigger.py#L149
  36. possibly-used-before-assignment: Possibly using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/recorder/util.py#L605
  37. possibly-used-before-assignment: Possibly using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/recorder/system_health/init.py#L75
  38. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alert/reproduce_state.py#L54
  39. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/mysensors/climate.py#L178
  40. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/roon/media_player.py#L168
  41. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/roon/event.py#L71
  42. possibly-used-before-assignment: Possibly using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/islamic_prayer_times/init.py#L67
  43. possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/rflink/init.py#L547
  44. possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/dialogflow/init.py#L92
  45. possibly-used-before-assignment: Possibly using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/energy/sensor.py#L342
  46. possibly-used-before-assignment: Possibly using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/energy/sensor.py#L343
  47. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/automation/reproduce_state.py#L56
  48. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/automation/config.py#L102
  49. possibly-used-before-assignment: Possibly using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/tado/sensor.py#L280
  50. possibly-used-before-assignment: Possibly using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L94
  51. possibly-used-before-assignment: Possibly using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yale_smart_alarm/lock.py#L91
  52. possibly-used-before-assignment: Possibly using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/dynalite/init.py#L79
  53. possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/nws/weather.py#L235
  54. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/switch/reproduce_state.py#L56
  55. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/timer/reproduce_state.py#L65
  56. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/water_heater/device_action.py#L79
  57. possibly-used-before-assignment: Possibly using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/google/calendar.py#L483
  58. possibly-used-before-assignment: Possibly using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/blackbird/media_player.py#L108
  59. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/lock/device_action.py#L90
  60. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/lock/reproduce_state.py#L58
  61. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/vacuum/device_action.py#L78
  62. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/vacuum/reproduce_state.py#L88
  63. possibly-used-before-assignment: Possibly using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/otbr/websocket_api.py#L172
  64. possibly-used-before-assignment: Possibly using variable 'power' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/emulated_kasa/init.py#L142
  65. possibly-used-before-assignment: Possibly using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/color_extractor/init.py#L86
  66. possibly-used-before-assignment: Possibly using variable 'color' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/color_extractor/init.py#L92
  67. possibly-used-before-assignment: Possibly using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/remote_rpi_gpio/init.py#L39
  68. possibly-used-before-assignment: Possibly using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/http/auth.py#L232
  69. possibly-used-before-assignment: Possibly using variable 'response' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/itunes/media_player.py#L74
  70. possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yeelight/light.py#L734
  71. possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yeelight/light.py#L742
  72. possibly-used-before-assignment: Possibly using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/helpers/deprecation.py#L303
  73. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/helpers/update_coordinator.py#L398

The following messages are no longer emitted:

  1. used-before-assignment: Using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/color_extractor/init.py#L86

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/9cb30af95d9143dbbf52c13817753c54d5d2f5fe/src_py/sysfont.py#L67
  2. possibly-used-before-assignment: Possibly using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/9cb30af95d9143dbbf52c13817753c54d5d2f5fe/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable '_prefix' before assignment https://github.com/psf/black/blob/6b25e7cdabe2cd0dc2ec9d0009668af085b1e732/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
  2. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
  3. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
  4. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
  5. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
  6. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
  7. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
  8. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
  9. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
  10. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
  11. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
  12. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
  13. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L249

Effect on pytest: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/fixtures.py#L198
  2. possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/reports.py#L573
  3. possibly-used-before-assignment: Possibly using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/assertion/rewrite.py#L1007
  4. possibly-used-before-assignment: Possibly using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/config/init.py#L1355

Effect on django: The following messages are now emitted:

  1. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/template/defaulttags.py#L662
  2. possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/core/management/commands/makemessages.py#L126
  3. possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/transaction.py#L245
  4. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/sqlite3/creation.py#L43
  5. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L48
  6. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L174
  7. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/base/creation.py#L217
  8. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/migrations/migration.py#L135
  9. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/migrations/migration.py#L196
  10. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/models/base.py#L542
  11. possibly-used-before-assignment: Possibly using variable 'progress_interval' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/contrib/gis/utils/layermapping.py#L686

Effect on pandas: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/generic.py#L4107
  2. possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L125
  3. possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L252
  4. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/string_arrow.py#L135
  5. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/string_arrow.py#L138
  6. possibly-used-before-assignment: Possibly using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/string_arrow.py#L349
  7. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/_arrow_string_mixins.py#L33
  8. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/_arrow_string_mixins.py#L60
  9. possibly-used-before-assignment: Possibly using variable 'ARROW_CMP_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L704
  10. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L744
  11. possibly-used-before-assignment: Possibly using variable 'ARROW_LOGICAL_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L768
  12. possibly-used-before-assignment: Possibly using variable 'ARROW_BIT_WISE_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L784
  13. possibly-used-before-assignment: Possibly using variable 'ARROW_ARITHMETIC_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L789
  14. possibly-used-before-assignment: Possibly using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/accessors.py#L49
  15. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/accessors.py#L81
  16. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/accessors.py#L112
  17. possibly-used-before-assignment: Possibly using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/indexes/base.py#L4631
  18. possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/indexes/datetimelike.py#L275
  19. used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/array_algos/take.py#L244
  20. possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
  21. possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
  22. possibly-used-before-assignment: Possibly using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/pivot.py#L231
  23. possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/eval.py#L171
  24. possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/pytables.py#L165
  25. possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/expressions.py#L64
  26. possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/groupby/groupby.py#L5052
  27. possibly-used-before-assignment: Possibly using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/groupby/groupby.py#L5460

Effect on sentry: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'freq_delta' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/api/helpers/span_analysis.py#L86
  2. possibly-used-before-assignment: Possibly using variable 'duration_delta' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/api/helpers/span_analysis.py#L87
  3. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/integrations/slack/webhooks/action.py#L540
  4. possibly-used-before-assignment: Possibly using variable 'values' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/integrations/slack/webhooks/action.py#L542
  5. possibly-used-before-assignment: Possibly using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/snuba/metrics_layer/query.py#L297
  6. possibly-used-before-assignment: Possibly using variable 'sentry_app_map' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/incidents/endpoints/organization_alert_rule_details.py#L76
  7. possibly-used-before-assignment: Possibly using variable 'organization' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  8. possibly-used-before-assignment: Possibly using variable 'integration' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  9. possibly-used-before-assignment: Possibly using variable 'subscriptions_by_team_id' before assignment https://github.com/getsentry/sentry/blob/6cb00895667553aedf10d35fdc186b42c7315fe9/src/sentry/models/groupsubscription.py#L206

Effect on psycopg: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/waiting.py#L414
  2. possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/connection_async.py#L337
  3. possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/connection.py#L321

Effect on coverage: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/phystokens.py#L162
  2. possibly-used-before-assignment: Possibly using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/env.py#L76
  3. possibly-used-before-assignment: Possibly using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L263
  4. possibly-used-before-assignment: Possibly using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L265
  5. possibly-used-before-assignment: Possibly using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L267
  6. possibly-used-before-assignment: Possibly using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L143
  7. possibly-used-before-assignment: Possibly using variable 'arcs_executed' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L150

This comment was generated for commit cc80eb9c619d965b5010d72ba7bee2586f51270c

github-actions[bot] avatar Apr 09 '24 01:04 github-actions[bot]

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

Effect on astroid: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/7a3b482b9673243d2ccc895672eb1e452f5daa82/astroid/nodes/node_classes.py#L1074

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

  1. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/loader.py#L969
  2. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/loader.py#L1155
  3. possibly-used-before-assignment: Possibly using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/awair/config_flow.py#L187
  4. used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/husqvarna_automower/diagnostics.py#L47
  5. possibly-used-before-assignment: Possibly using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/google_assistant/trait.py#L830
  6. possibly-used-before-assignment: Possibly using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/neato/camera.py#L92
  7. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/climate/device_action.py#L99
  8. possibly-used-before-assignment: Possibly using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/climate/init.py#L700
  9. possibly-used-before-assignment: Possibly using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/forked_daapd/media_player.py#L791
  10. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/forked_daapd/media_player.py#L863
  11. possibly-used-before-assignment: Possibly using variable 'name' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/steam_online/config_flow.py#L80
  12. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/plex/media_browser.py#L169
  13. possibly-used-before-assignment: Possibly using variable 'year' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/homeassistant/triggers/time.py#L116
  14. possibly-used-before-assignment: Possibly using variable 'month' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/homeassistant/triggers/time.py#L117
  15. possibly-used-before-assignment: Possibly using variable 'day' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/homeassistant/triggers/time.py#L118
  16. possibly-used-before-assignment: Possibly using variable 'device' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alarmdecoder/config_flow.py#L118
  17. possibly-used-before-assignment: Possibly using variable 'title' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alarmdecoder/config_flow.py#L127
  18. possibly-used-before-assignment: Possibly using variable 'schema' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alarmdecoder/config_flow.py#L152
  19. possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alarmdecoder/init.py#L61
  20. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/script/config.py#L134
  21. possibly-used-before-assignment: Possibly using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/wemo/fan.py#L167
  22. possibly-used-before-assignment: Possibly using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/unifiprotect/media_source.py#L456
  23. possibly-used-before-assignment: Possibly using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/unifiprotect/media_source.py#L606
  24. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/omnilogic/sensor.py#L154
  25. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/cover/device_action.py#L145
  26. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/cover/device_condition.py#L141
  27. possibly-used-before-assignment: Possibly using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/cover/device_condition.py#L158
  28. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/cover/reproduce_state.py#L88
  29. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/cover/device_trigger.py#L161
  30. possibly-used-before-assignment: Possibly using variable 'position' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/cover/device_trigger.py#L178
  31. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/remote/reproduce_state.py#L56
  32. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alarm_control_panel/device_action.py#L120
  33. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alarm_control_panel/device_condition.py#L131
  34. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alarm_control_panel/reproduce_state.py#L84
  35. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alarm_control_panel/device_trigger.py#L149
  36. possibly-used-before-assignment: Possibly using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/recorder/util.py#L605
  37. possibly-used-before-assignment: Possibly using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/recorder/system_health/init.py#L75
  38. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alert/reproduce_state.py#L54
  39. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/mysensors/climate.py#L178
  40. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/roon/media_player.py#L168
  41. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/roon/event.py#L71
  42. possibly-used-before-assignment: Possibly using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/islamic_prayer_times/init.py#L67
  43. possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/rflink/init.py#L547
  44. possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/dialogflow/init.py#L92
  45. possibly-used-before-assignment: Possibly using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/energy/sensor.py#L342
  46. possibly-used-before-assignment: Possibly using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/energy/sensor.py#L343
  47. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/automation/reproduce_state.py#L56
  48. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/automation/config.py#L102
  49. possibly-used-before-assignment: Possibly using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/tado/sensor.py#L280
  50. possibly-used-before-assignment: Possibly using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L94
  51. possibly-used-before-assignment: Possibly using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/yale_smart_alarm/lock.py#L91
  52. possibly-used-before-assignment: Possibly using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/dynalite/init.py#L79
  53. possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/nws/weather.py#L235
  54. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/switch/reproduce_state.py#L56
  55. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/timer/reproduce_state.py#L65
  56. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/water_heater/device_action.py#L79
  57. possibly-used-before-assignment: Possibly using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/google/calendar.py#L483
  58. possibly-used-before-assignment: Possibly using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/blackbird/media_player.py#L108
  59. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/lock/device_action.py#L90
  60. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/lock/reproduce_state.py#L58
  61. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/vacuum/device_action.py#L78
  62. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/vacuum/reproduce_state.py#L88
  63. possibly-used-before-assignment: Possibly using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/otbr/websocket_api.py#L172
  64. possibly-used-before-assignment: Possibly using variable 'power' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/emulated_kasa/init.py#L142
  65. possibly-used-before-assignment: Possibly using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/color_extractor/init.py#L86
  66. possibly-used-before-assignment: Possibly using variable 'color' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/color_extractor/init.py#L92
  67. possibly-used-before-assignment: Possibly using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/remote_rpi_gpio/init.py#L39
  68. possibly-used-before-assignment: Possibly using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/http/auth.py#L232
  69. possibly-used-before-assignment: Possibly using variable 'response' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/itunes/media_player.py#L74
  70. possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/yeelight/light.py#L734
  71. possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/yeelight/light.py#L742
  72. possibly-used-before-assignment: Possibly using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/helpers/deprecation.py#L303
  73. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/helpers/update_coordinator.py#L398

The following messages are no longer emitted:

  1. used-before-assignment: Using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/color_extractor/init.py#L86

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/9cb30af95d9143dbbf52c13817753c54d5d2f5fe/src_py/sysfont.py#L67
  2. possibly-used-before-assignment: Possibly using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/9cb30af95d9143dbbf52c13817753c54d5d2f5fe/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable '_prefix' before assignment https://github.com/psf/black/blob/6b25e7cdabe2cd0dc2ec9d0009668af085b1e732/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
  2. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
  3. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
  4. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
  5. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
  6. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
  7. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
  8. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
  9. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
  10. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
  11. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
  12. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
  13. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L249

Effect on pytest: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/fixtures.py#L198
  2. possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/reports.py#L573
  3. possibly-used-before-assignment: Possibly using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/assertion/rewrite.py#L1007
  4. possibly-used-before-assignment: Possibly using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/config/init.py#L1355

Effect on django: The following messages are now emitted:

  1. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/template/defaulttags.py#L662
  2. possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/core/management/commands/makemessages.py#L126
  3. possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/transaction.py#L245
  4. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/sqlite3/creation.py#L43
  5. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L48
  6. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L174
  7. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/base/creation.py#L217
  8. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/migrations/migration.py#L135
  9. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/migrations/migration.py#L196
  10. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/models/base.py#L542
  11. possibly-used-before-assignment: Possibly using variable 'progress_interval' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/contrib/gis/utils/layermapping.py#L686

Effect on pandas: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/generic.py#L4107
  2. possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L125
  3. possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L252
  4. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/string_arrow.py#L135
  5. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/string_arrow.py#L138
  6. possibly-used-before-assignment: Possibly using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/string_arrow.py#L349
  7. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/_arrow_string_mixins.py#L33
  8. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/_arrow_string_mixins.py#L60
  9. possibly-used-before-assignment: Possibly using variable 'ARROW_CMP_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L704
  10. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L744
  11. possibly-used-before-assignment: Possibly using variable 'ARROW_LOGICAL_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L768
  12. possibly-used-before-assignment: Possibly using variable 'ARROW_BIT_WISE_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L784
  13. possibly-used-before-assignment: Possibly using variable 'ARROW_ARITHMETIC_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L789
  14. possibly-used-before-assignment: Possibly using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/accessors.py#L49
  15. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/accessors.py#L81
  16. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/accessors.py#L112
  17. possibly-used-before-assignment: Possibly using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/indexes/base.py#L4631
  18. possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/indexes/datetimelike.py#L275
  19. used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/array_algos/take.py#L244
  20. possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
  21. possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
  22. possibly-used-before-assignment: Possibly using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/pivot.py#L231
  23. possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/eval.py#L171
  24. possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/pytables.py#L165
  25. possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/expressions.py#L64
  26. possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/groupby/groupby.py#L5052
  27. possibly-used-before-assignment: Possibly using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/groupby/groupby.py#L5460

Effect on sentry: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'freq_delta' before assignment https://github.com/getsentry/sentry/blob/0fa880974b5f25039c418f025de8499455c246ac/src/sentry/api/helpers/span_analysis.py#L86
  2. possibly-used-before-assignment: Possibly using variable 'duration_delta' before assignment https://github.com/getsentry/sentry/blob/0fa880974b5f25039c418f025de8499455c246ac/src/sentry/api/helpers/span_analysis.py#L87
  3. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/getsentry/sentry/blob/0fa880974b5f25039c418f025de8499455c246ac/src/sentry/integrations/slack/webhooks/action.py#L540
  4. possibly-used-before-assignment: Possibly using variable 'values' before assignment https://github.com/getsentry/sentry/blob/0fa880974b5f25039c418f025de8499455c246ac/src/sentry/integrations/slack/webhooks/action.py#L542
  5. possibly-used-before-assignment: Possibly using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/0fa880974b5f25039c418f025de8499455c246ac/src/sentry/snuba/metrics_layer/query.py#L297
  6. possibly-used-before-assignment: Possibly using variable 'sentry_app_map' before assignment https://github.com/getsentry/sentry/blob/0fa880974b5f25039c418f025de8499455c246ac/src/sentry/incidents/endpoints/organization_alert_rule_details.py#L76
  7. possibly-used-before-assignment: Possibly using variable 'organization' before assignment https://github.com/getsentry/sentry/blob/0fa880974b5f25039c418f025de8499455c246ac/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  8. possibly-used-before-assignment: Possibly using variable 'integration' before assignment https://github.com/getsentry/sentry/blob/0fa880974b5f25039c418f025de8499455c246ac/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  9. possibly-used-before-assignment: Possibly using variable 'subscriptions_by_team_id' before assignment https://github.com/getsentry/sentry/blob/0fa880974b5f25039c418f025de8499455c246ac/src/sentry/models/groupsubscription.py#L206

Effect on psycopg: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/waiting.py#L414
  2. possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/connection_async.py#L337
  3. possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/connection.py#L321

Effect on coverage: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/phystokens.py#L162
  2. possibly-used-before-assignment: Possibly using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/env.py#L76
  3. possibly-used-before-assignment: Possibly using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L263
  4. possibly-used-before-assignment: Possibly using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L265
  5. possibly-used-before-assignment: Possibly using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L267
  6. possibly-used-before-assignment: Possibly using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L143
  7. possibly-used-before-assignment: Possibly using variable 'arcs_executed' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L150

This comment was generated for commit d40710e2c4a0f50bac7b6143fba3dff6738562c1

github-actions[bot] avatar Apr 09 '24 12:04 github-actions[bot]

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

Effect on astroid: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'default_offset' before assignment https://github.com/pylint-dev/astroid/blob/7a3b482b9673243d2ccc895672eb1e452f5daa82/astroid/nodes/node_classes.py#L1074

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

  1. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/loader.py#L969
  2. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/loader.py#L1159
  3. possibly-used-before-assignment: Possibly using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/awair/config_flow.py#L187
  4. used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/husqvarna_automower/diagnostics.py#L47
  5. possibly-used-before-assignment: Possibly using variable 'descriptive_capacity_remaining' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/google_assistant/trait.py#L830
  6. possibly-used-before-assignment: Possibly using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/neato/camera.py#L92
  7. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/climate/device_action.py#L99
  8. possibly-used-before-assignment: Possibly using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/climate/init.py#L700
  9. possibly-used-before-assignment: Possibly using variable 'saved_queue_position' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/forked_daapd/media_player.py#L791
  10. undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/forked_daapd/media_player.py#L863
  11. possibly-used-before-assignment: Possibly using variable 'name' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/steam_online/config_flow.py#L80
  12. used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/plex/media_browser.py#L169
  13. possibly-used-before-assignment: Possibly using variable 'year' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/homeassistant/triggers/time.py#L116
  14. possibly-used-before-assignment: Possibly using variable 'month' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/homeassistant/triggers/time.py#L117
  15. possibly-used-before-assignment: Possibly using variable 'day' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/homeassistant/triggers/time.py#L118
  16. possibly-used-before-assignment: Possibly using variable 'device' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alarmdecoder/config_flow.py#L118
  17. possibly-used-before-assignment: Possibly using variable 'title' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alarmdecoder/config_flow.py#L127
  18. possibly-used-before-assignment: Possibly using variable 'schema' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alarmdecoder/config_flow.py#L152
  19. possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alarmdecoder/init.py#L61
  20. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/script/config.py#L134
  21. possibly-used-before-assignment: Possibly using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/wemo/fan.py#L167
  22. possibly-used-before-assignment: Possibly using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/unifiprotect/media_source.py#L456
  23. possibly-used-before-assignment: Possibly using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/unifiprotect/media_source.py#L606
  24. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/omnilogic/sensor.py#L154
  25. possibly-used-before-assignment: Possibly using variable 'new_sleep_period' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/shelly/coordinator.py#L189
  26. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/cover/device_action.py#L145
  27. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/cover/device_condition.py#L141
  28. possibly-used-before-assignment: Possibly using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/cover/device_condition.py#L158
  29. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/cover/reproduce_state.py#L88
  30. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/cover/device_trigger.py#L161
  31. possibly-used-before-assignment: Possibly using variable 'position' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/cover/device_trigger.py#L178
  32. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/remote/reproduce_state.py#L56
  33. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alarm_control_panel/device_action.py#L120
  34. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alarm_control_panel/device_condition.py#L131
  35. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alarm_control_panel/reproduce_state.py#L84
  36. possibly-used-before-assignment: Possibly using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alarm_control_panel/device_trigger.py#L149
  37. possibly-used-before-assignment: Possibly using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/recorder/util.py#L605
  38. possibly-used-before-assignment: Possibly using variable 'db_runs' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/recorder/system_health/init.py#L75
  39. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alert/reproduce_state.py#L54
  40. used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/mysensors/climate.py#L178
  41. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/roon/media_player.py#L168
  42. possibly-used-before-assignment: Possibly using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/roon/event.py#L71
  43. possibly-used-before-assignment: Possibly using variable 'unique_id' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/islamic_prayer_times/init.py#L67
  44. possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/rflink/init.py#L548
  45. possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/dialogflow/init.py#L92
  46. possibly-used-before-assignment: Possibly using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/energy/sensor.py#L342
  47. possibly-used-before-assignment: Possibly using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/energy/sensor.py#L343
  48. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/automation/reproduce_state.py#L56
  49. possibly-used-before-assignment: Possibly using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/automation/config.py#L102
  50. possibly-used-before-assignment: Possibly using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/tado/sensor.py#L280
  51. possibly-used-before-assignment: Possibly using variable 'alarm_state' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/yale_smart_alarm/alarm_control_panel.py#L94
  52. possibly-used-before-assignment: Possibly using variable 'lock_state' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/yale_smart_alarm/lock.py#L91
  53. possibly-used-before-assignment: Possibly using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/dynalite/init.py#L79
  54. possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/nws/weather.py#L235
  55. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/switch/reproduce_state.py#L56
  56. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/timer/reproduce_state.py#L65
  57. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/water_heater/device_action.py#L79
  58. possibly-used-before-assignment: Possibly using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/google/calendar.py#L483
  59. possibly-used-before-assignment: Possibly using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/blackbird/media_player.py#L108
  60. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/lock/device_action.py#L90
  61. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/lock/reproduce_state.py#L58
  62. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/vacuum/device_action.py#L78
  63. possibly-used-before-assignment: Possibly using variable 'service' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/vacuum/reproduce_state.py#L88
  64. possibly-used-before-assignment: Possibly using variable 'thread_dataset_channel' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/otbr/websocket_api.py#L172
  65. possibly-used-before-assignment: Possibly using variable 'power' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/emulated_kasa/init.py#L142
  66. possibly-used-before-assignment: Possibly using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/color_extractor/init.py#L86
  67. possibly-used-before-assignment: Possibly using variable 'color' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/color_extractor/init.py#L92
  68. possibly-used-before-assignment: Possibly using variable 'pull_gpio_up' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/remote_rpi_gpio/init.py#L39
  69. possibly-used-before-assignment: Possibly using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/http/auth.py#L279
  70. possibly-used-before-assignment: Possibly using variable 'response' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/itunes/media_player.py#L74
  71. possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/yeelight/light.py#L734
  72. possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/yeelight/light.py#L742
  73. possibly-used-before-assignment: Possibly using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/helpers/deprecation.py#L303
  74. possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/helpers/update_coordinator.py#L398

The following messages are no longer emitted:

  1. used-before-assignment: Using variable 'image_type' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/color_extractor/init.py#L86

Effect on pygame: The following messages are now emitted:

  1. used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/c85b24c5ef8903b0b7c989c9351db9ceda4e2fa1/src_py/sysfont.py#L67
  2. possibly-used-before-assignment: Possibly using variable 'subprocess' before assignment https://github.com/pygame/pygame/blob/c85b24c5ef8903b0b7c989c9351db9ceda4e2fa1/src_py/sysfont.py#L214

Effect on black: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable '_prefix' before assignment https://github.com/psf/black/blob/735733b20516f2ea849d20f585555bf41a40311f/src/blib2to3/pgen2/driver.py#L168

Effect on music21: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
  2. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
  3. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
  4. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
  5. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
  6. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
  7. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
  8. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
  9. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
  10. possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
  11. possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
  12. possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
  13. possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L249

Effect on pytest: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/b56b294f54268b45f611917e6d1fd577a2f848be/src/_pytest/fixtures.py#L198
  2. possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/b56b294f54268b45f611917e6d1fd577a2f848be/src/_pytest/reports.py#L573
  3. possibly-used-before-assignment: Possibly using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/b56b294f54268b45f611917e6d1fd577a2f848be/src/_pytest/assertion/rewrite.py#L1007
  4. possibly-used-before-assignment: Possibly using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/b56b294f54268b45f611917e6d1fd577a2f848be/src/_pytest/config/init.py#L1355

Effect on django: The following messages are now emitted:

  1. used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/template/defaulttags.py#L662
  2. possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/core/management/commands/makemessages.py#L126
  3. possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/transaction.py#L245
  4. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/backends/sqlite3/creation.py#L43
  5. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/backends/oracle/creation.py#L48
  6. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/backends/oracle/creation.py#L174
  7. possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/backends/base/creation.py#L217
  8. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/migrations/migration.py#L135
  9. possibly-used-before-assignment: Possibly using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/migrations/migration.py#L196
  10. used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/models/base.py#L542
  11. possibly-used-before-assignment: Possibly using variable 'progress_interval' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/contrib/gis/utils/layermapping.py#L686

Effect on pandas: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/generic.py#L4107
  2. possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/missing.py#L125
  3. possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/missing.py#L252
  4. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/string_arrow.py#L135
  5. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/string_arrow.py#L138
  6. possibly-used-before-assignment: Possibly using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/string_arrow.py#L349
  7. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/_arrow_string_mixins.py#L33
  8. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/_arrow_string_mixins.py#L60
  9. possibly-used-before-assignment: Possibly using variable 'ARROW_CMP_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/arrow/array.py#L704
  10. used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/arrow/array.py#L744
  11. possibly-used-before-assignment: Possibly using variable 'ARROW_LOGICAL_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/arrow/array.py#L768
  12. possibly-used-before-assignment: Possibly using variable 'ARROW_BIT_WISE_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/arrow/array.py#L784
  13. possibly-used-before-assignment: Possibly using variable 'ARROW_ARITHMETIC_FUNCS' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/arrow/array.py#L789
  14. possibly-used-before-assignment: Possibly using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/arrow/accessors.py#L49
  15. possibly-used-before-assignment: Possibly using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/arrow/accessors.py#L81
  16. possibly-used-before-assignment: Possibly using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/arrow/accessors.py#L112
  17. possibly-used-before-assignment: Possibly using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/indexes/base.py#L4630
  18. possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/indexes/datetimelike.py#L275
  19. used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/array_algos/take.py#L244
  20. possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/reshape/merge.py#L1797
  21. possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/reshape/merge.py#L1797
  22. possibly-used-before-assignment: Possibly using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/reshape/pivot.py#L231
  23. possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/computation/eval.py#L171
  24. possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/computation/pytables.py#L165
  25. possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/computation/expressions.py#L64
  26. possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/groupby/groupby.py#L5052
  27. possibly-used-before-assignment: Possibly using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/groupby/groupby.py#L5460

Effect on sentry: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'freq_delta' before assignment https://github.com/getsentry/sentry/blob/530d898b7851806d90cbf13362bb053bc1d89ff9/src/sentry/api/helpers/span_analysis.py#L86
  2. possibly-used-before-assignment: Possibly using variable 'duration_delta' before assignment https://github.com/getsentry/sentry/blob/530d898b7851806d90cbf13362bb053bc1d89ff9/src/sentry/api/helpers/span_analysis.py#L87
  3. possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/getsentry/sentry/blob/530d898b7851806d90cbf13362bb053bc1d89ff9/src/sentry/integrations/slack/webhooks/action.py#L540
  4. possibly-used-before-assignment: Possibly using variable 'values' before assignment https://github.com/getsentry/sentry/blob/530d898b7851806d90cbf13362bb053bc1d89ff9/src/sentry/integrations/slack/webhooks/action.py#L542
  5. possibly-used-before-assignment: Possibly using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/530d898b7851806d90cbf13362bb053bc1d89ff9/src/sentry/snuba/metrics_layer/query.py#L297
  6. possibly-used-before-assignment: Possibly using variable 'sentry_app_map' before assignment https://github.com/getsentry/sentry/blob/530d898b7851806d90cbf13362bb053bc1d89ff9/src/sentry/incidents/endpoints/organization_alert_rule_details.py#L76
  7. possibly-used-before-assignment: Possibly using variable 'organization' before assignment https://github.com/getsentry/sentry/blob/530d898b7851806d90cbf13362bb053bc1d89ff9/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  8. possibly-used-before-assignment: Possibly using variable 'integration' before assignment https://github.com/getsentry/sentry/blob/530d898b7851806d90cbf13362bb053bc1d89ff9/src/sentry/tasks/integrations/slack/link_slack_user_identities.py#L32
  9. possibly-used-before-assignment: Possibly using variable 'subscriptions_by_team_id' before assignment https://github.com/getsentry/sentry/blob/530d898b7851806d90cbf13362bb053bc1d89ff9/src/sentry/models/groupsubscription.py#L206

Effect on psycopg: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/ae0a8bd351a53d5e5934e65a9c073c4ddc033cf9/psycopg/psycopg/waiting.py#L414
  2. possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/ae0a8bd351a53d5e5934e65a9c073c4ddc033cf9/psycopg/psycopg/connection_async.py#L366
  3. possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/ae0a8bd351a53d5e5934e65a9c073c4ddc033cf9/psycopg/psycopg/connection.py#L343

Effect on coverage: The following messages are now emitted:

  1. possibly-used-before-assignment: Possibly using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/phystokens.py#L162
  2. possibly-used-before-assignment: Possibly using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/env.py#L76
  3. possibly-used-before-assignment: Possibly using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L263
  4. possibly-used-before-assignment: Possibly using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L265
  5. possibly-used-before-assignment: Possibly using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L267
  6. possibly-used-before-assignment: Possibly using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L143
  7. possibly-used-before-assignment: Possibly using variable 'arcs_executed' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L150

This comment was generated for commit b362668fafe07c38eeb71dfaf2daa14e21c98e58

github-actions[bot] avatar Apr 16 '24 12:04 github-actions[bot]

Should this be enabled by default?

jacobtylerwalls avatar Apr 16 '24 22:04 jacobtylerwalls

Perhaps first as an extension and then after 1 or 2 minor version by default?

DanielNoord avatar Apr 17 '24 07:04 DanielNoord

I think making this an extension would involve moving the code around (and we have a lot of optimization if the code is mixed with used-before-assignement, right ?), so I would say:

  • opt-in in 3.0 (with enable), opt-out in 4.0 (As part of #3512 ?)
  • or opt-out (with disable) option 1 is "safer", but then again the check is pretty useful (even if noisy) so maybe option 2... (knowing it's easy to disable a message)

Pierre-Sassoulas avatar Apr 17 '24 07:04 Pierre-Sassoulas

Let's go with option 2 then!

DanielNoord avatar Apr 17 '24 08:04 DanielNoord