pylint
pylint copied to clipboard
Emit `used-before-assignment` after if/else switches
Type of Changes
| Type | |
|---|---|
| ✓ | :sparkles: New feature |
Description
Closes #1727
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- used-before-assignment: Using variable 'iattrs' before assignment https://github.com/pylint-dev/astroid/blob/dab733571fee2e52b90febd6610f2ac1dcdb6861/astroid/builder.py#L263
- used-before-assignment: Using variable 'targets' before assignment https://github.com/pylint-dev/astroid/blob/dab733571fee2e52b90febd6610f2ac1dcdb6861/astroid/brain/brain_namedtuple_enum.py#L431
- 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:
- used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/helpers/update_coordinator.py#L378
- used-before-assignment: Using variable 'event' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/helpers/collection.py#L220
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alert/reproduce_state.py#L53
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/mysensors/climate.py#L176
- used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/rflink/init.py#L547
- 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
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/water_heater/device_action.py#L78
- used-before-assignment: Using variable 'item_id' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L112
- used-before-assignment: Using variable 'item_name' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L126
- used-before-assignment: Using variable 'item_coordinator' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L134
- used-before-assignment: Using variable 'item_device_name' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L137
- used-before-assignment: Using variable 'item_manufacturer' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L138
- used-before-assignment: Using variable 'item_model' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L139
- used-before-assignment: Using variable 'item_is_dimmer' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/control4/light.py#L141
- used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_trigger.py#L164
- used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_trigger.py#L181
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_action.py#L155
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/reproduce_state.py#L87
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_condition.py#L144
- used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/cover/device_condition.py#L161
- used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/emulated_kasa/init.py#L141
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/vacuum/device_action.py#L77
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/vacuum/reproduce_state.py#L87
- used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/dialogflow/init.py#L91
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/omnilogic/sensor.py#L163
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/plex/media_browser.py#L168
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/script/config.py#L133
- used-before-assignment: Using variable 'mac' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/unifi/controller.py#L292
- used-before-assignment: Using variable 'descriptions' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/tradfri/sensor.py#L162
- 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
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/switch/reproduce_state.py#L55
- used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/dynalite/init.py#L77
- used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/tado/sensor.py#L286
- used-before-assignment: Using variable 'data' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/thread/dataset_store.py#L160
- used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/awair/config_flow.py#L187
- 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
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/remote/reproduce_state.py#L55
- 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
- used-before-assignment: Using variable 'sensor_name' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/tellstick/sensor.py#L147
- used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/itunes/media_player.py#L75
- used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/neato/camera.py#L96
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/roon/media_player.py#L167
- 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
- used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/wemo/fan.py#L166
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/automation/reproduce_state.py#L55
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/automation/config.py#L102
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/climate/device_action.py#L98
- used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/homeassistant/triggers/time.py#L106
- used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/homeassistant/triggers/time.py#L107
- used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/homeassistant/triggers/time.py#L108
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/home_connect/api.py#L101
- used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/energy/sensor.py#L328
- used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/energy/sensor.py#L329
- used-before-assignment: Using variable 'converter' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/energy/sensor.py#L387
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarmdecoder/config_flow.py#L107
- used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarmdecoder/config_flow.py#L116
- used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarmdecoder/config_flow.py#L141
- used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/alarmdecoder/init.py#L61
- used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/unifiprotect/media_source.py#L409
- used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/unifiprotect/media_source.py#L567
- used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/color_extractor/init.py#L91
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/timer/reproduce_state.py#L64
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/lock/device_action.py#L89
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/lock/reproduce_state.py#L57
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/forked_daapd/media_player.py#L866
- used-before-assignment: Using variable 'content_type' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/camera/media_source.py#L96
- used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/http/auth.py#L232
- used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/blackbird/media_player.py#L108
- used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/steam_online/config_flow.py#L74
- used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/yeelight/light.py#L721
- used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/yeelight/light.py#L729
- used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/7f616b0d44e18416b0802cb30322eead52d7840c/homeassistant/components/nws/weather.py#L220
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/509279bc7b42bdc009f2d6b814d6836d74af5cf9/src_py/sysfont.py#L67
- 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:
- 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:
- used-before-assignment: Using variable 'replacementDuration' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/variant.py#L1715
- used-before-assignment: Using variable 'variantType' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/variant.py#L2318
- used-before-assignment: Using variable 'beamType' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/musedata/translate.py#L74
- used-before-assignment: Using variable 'p' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/analysis/reduceChords.py#L577
- used-before-assignment: Using variable 'brailleArt' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/braille/basic.py#L617
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L105
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L106
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L107
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L108
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L175
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L176
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L177
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L178
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L246
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L247
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L248
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/8baa27339109895cc4c55dd99cb0290e111fb02a/music21/figuredBass/resolution.py#L249
- 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:
- used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/556e075d23a91eb42821129a5d874ec3174e17ad/src/_pytest/reports.py#L576
- used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/556e075d23a91eb42821129a5d874ec3174e17ad/src/_pytest/fixtures.py#L199
- used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/556e075d23a91eb42821129a5d874ec3174e17ad/src/_pytest/assertion/rewrite.py#L981
- 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:
- used-before-assignment: Using variable 'error_messages' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/forms/models.py#L464
- used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/contrib/gis/utils/layermapping.py#L682
- used-before-assignment: Using variable 'order_type' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/contrib/admin/views/main.py#L519
- used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/core/management/commands/makemessages.py#L126
- used-before-assignment: Using variable 'relation' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/core/checks/caches.py#L54
- used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/template/defaulttags.py#L660
- used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/transaction.py#L245
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/backends/oracle/creation.py#L48
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/backends/oracle/creation.py#L174
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/backends/base/creation.py#L214
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/backends/sqlite3/creation.py#L43
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/models/base.py#L542
- used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/models/deletion.py#L316
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/59f475470494ce5b8cbff816b1e5dafcbd10a3a3/django/db/migrations/migration.py#L135
- 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:
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/io/formats/style.py#L1870
- used-before-assignment: Using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/missing.py#L112
- used-before-assignment: Using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/missing.py#L217
- used-before-assignment: Using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/generic.py#L4267
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/arrays/string_arrow.py#L121
- used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/arrays/string_arrow.py#L157
- used-before-assignment: Using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/arrays/string_arrow.py#L309
- 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
- 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
- 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
- used-before-assignment: Using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/reshape/pivot.py#L230
- used-before-assignment: Using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/computation/pytables.py#L160
- used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/computation/eval.py#L167
- used-before-assignment: Using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/computation/expressions.py#L63
- used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/internals/array_manager.py#L676
- used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/array_algos/take.py#L305
- used-before-assignment: Using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/indexes/base.py#L5028
- used-before-assignment: Using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/indexes/datetimelike.py#L261
- used-before-assignment: Using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/groupby/groupby.py#L5093
- used-before-assignment: Using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/core/groupby/groupby.py#L5632
- used-before-assignment: Using variable 'data' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/test_downstream.py#L300
- used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/test_gcs.py#L100
- used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/test_stata.py#L1998
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/test_clipboard.py#L430
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/io/formats/test_format.py#L109
- 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
- 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
- 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
- used-before-assignment: Using variable 'raises' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/strings/test_api.py#L94
- used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/window/test_rolling.py#L1580
- used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/window/test_expanding.py#L259
- used-before-assignment: Using variable 'expected' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/extension/test_sparse.py#L414
- used-before-assignment: Using variable 'expected_dtype' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/extension/test_masked.py#L388
- used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/frame/test_constructors.py#L377
- used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/0582e35aa064ecd3a054853ed2fc5d4ef9fcc847/pandas/tests/frame/test_reductions.py#L201
- 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
- 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
- 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
- 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
- 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:
- used-before-assignment: Using variable 'deletions' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/runner/commands/cleanup.py#L85
- used-before-assignment: Using variable 'alias' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/search/events/builder/discover.py#L1836
- used-before-assignment: Using variable 'metrics_query' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/search/events/builder/metrics.py#L1290
- used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/integrations/jira_server/integration.py#L566
- used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/integrations/jira/integration.py#L426
- used-before-assignment: Using variable 'actor_type' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/notifications/manager.py#L155
- used-before-assignment: Using variable 'actor_id' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/notifications/manager.py#L161
- used-before-assignment: Using variable 'id_key' before assignment https://github.com/getsentry/sentry/blob/f9a017de0b214b463714f23b05a89edbe3bad523/src/sentry/notifications/manager.py#L453
- 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
- 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:
- used-before-assignment: Using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/pytracer.py#L250
- used-before-assignment: Using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/pytracer.py#L252
- used-before-assignment: Using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/pytracer.py#L254
- used-before-assignment: Using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/html.py#L140
- used-before-assignment: Using variable 'arcs_executed' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/html.py#L147
- used-before-assignment: Using variable 'fullname' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/inorout.py#L99
- used-before-assignment: Using variable 'match_case_lines' before assignment https://github.com/nedbat/coveragepy/blob/d87f64aacd420b0c935a651c8deb6b5d6730bb95/coverage/phystokens.py#L155
- 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
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 I see this PR is still a draft - is it completed and ready for review?
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!
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- used-before-assignment: Using variable 'iattrs' before assignment https://github.com/pylint-dev/astroid/blob/31ba1dbd8ae86b55330be861e37d6bc372d9a8a5/astroid/builder.py#L263
- used-before-assignment: Using variable 'targets' before assignment https://github.com/pylint-dev/astroid/blob/31ba1dbd8ae86b55330be861e37d6bc372d9a8a5/astroid/brain/brain_namedtuple_enum.py#L425
- 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:
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/water_heater/device_action.py#L78
- used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/recorder/util.py#L584
- 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
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/mysensors/climate.py#L176
- used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/awair/config_flow.py#L187
- used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/unifiprotect/media_source.py#L409
- used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/unifiprotect/media_source.py#L567
- 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
- used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/homeassistant/triggers/time.py#L108
- used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/homeassistant/triggers/time.py#L109
- used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/homeassistant/triggers/time.py#L110
- used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/blackbird/media_player.py#L108
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarmdecoder/config_flow.py#L114
- used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarmdecoder/config_flow.py#L123
- used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarmdecoder/config_flow.py#L148
- used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alarmdecoder/init.py#L60
- used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/rflink/init.py#L546
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/climate/device_action.py#L98
- used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/climate/init.py#L537
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/forked_daapd/media_player.py#L865
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/alert/reproduce_state.py#L53
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/roon/event.py#L70
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/roon/media_player.py#L167
- used-before-assignment: Using variable 'item_id' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L112
- used-before-assignment: Using variable 'item_name' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L126
- used-before-assignment: Using variable 'item_coordinator' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L134
- used-before-assignment: Using variable 'item_device_name' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L137
- used-before-assignment: Using variable 'item_manufacturer' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L138
- used-before-assignment: Using variable 'item_model' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L139
- used-before-assignment: Using variable 'item_is_dimmer' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/control4/light.py#L141
- used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_trigger.py#L160
- used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_trigger.py#L177
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_action.py#L144
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_condition.py#L140
- used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/device_condition.py#L157
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cover/reproduce_state.py#L87
- used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/dialogflow/init.py#L91
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/home_connect/api.py#L101
- 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
- used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/neato/camera.py#L90
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/switch/reproduce_state.py#L55
- used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/energy/sensor.py#L333
- used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/energy/sensor.py#L334
- 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
- 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
- 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
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/plex/media_browser.py#L168
- used-before-assignment: Using variable 'descriptions' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/tradfri/sensor.py#L162
- 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
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/lock/device_action.py#L89
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/lock/reproduce_state.py#L57
- used-before-assignment: Using variable 'sensor_name' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/tellstick/sensor.py#L147
- used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/color_extractor/init.py#L107
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/remote/reproduce_state.py#L55
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/automation/config.py#L102
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/automation/reproduce_state.py#L55
- used-before-assignment: Using variable 'AIOKafkaProducer' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/apache_kafka/init.py#L117
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/omnilogic/sensor.py#L153
- used-before-assignment: Using variable 'datapoint' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/metoffice/init.py#L96
- 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
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/vacuum/device_action.py#L77
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/vacuum/reproduce_state.py#L87
- used-before-assignment: Using variable 'WebexTeamsAPI' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cisco_webex_teams/notify.py#L44
- used-before-assignment: Using variable 'exceptions' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cisco_webex_teams/notify.py#L48
- used-before-assignment: Using variable 'ApiError' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/cisco_webex_teams/notify.py#L72
- used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/dynalite/init.py#L77
- used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/nws/weather.py#L246
- used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/tado/sensor.py#L286
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/timer/reproduce_state.py#L64
- used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/itunes/media_player.py#L75
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/script/config.py#L133
- used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/emulated_kasa/init.py#L141
- used-before-assignment: Using variable 'content_type' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/camera/media_source.py#L96
- used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/wemo/fan.py#L166
- used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/google/calendar.py#L459
- used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/steam_online/config_flow.py#L74
- used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/yeelight/light.py#L724
- used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/yeelight/light.py#L732
- used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/components/http/auth.py#L229
- used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/helpers/deprecation.py#L288
- used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/e8b962ea89825de2c8aebffa304e53c5e75e951a/homeassistant/helpers/update_coordinator.py#L398
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L67
- 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:
- 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:
- used-before-assignment: Using variable 'replacementDuration' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L1715
- used-before-assignment: Using variable 'variantType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L2318
- used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/pitch.py#L584
- used-before-assignment: Using variable 'beamType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/musedata/translate.py#L74
- used-before-assignment: Using variable 'brailleArt' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/braille/basic.py#L617
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L105
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L106
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L107
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L108
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L175
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L176
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L177
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L178
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L246
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L247
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L248
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L249
- used-before-assignment: Using variable 'p' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/analysis/reduceChords.py#L577
- 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:
- used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/348e6de102c5a5ccdaab88c860d57b1f49f7b1d2/src/_pytest/fixtures.py#L197
- used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/348e6de102c5a5ccdaab88c860d57b1f49f7b1d2/src/_pytest/reports.py#L576
- used-before-assignment: Using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/348e6de102c5a5ccdaab88c860d57b1f49f7b1d2/src/_pytest/config/init.py#L1288
- 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:
- used-before-assignment: Using variable 'error_messages' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/forms/models.py#L465
- used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/transaction.py#L245
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/backends/base/creation.py#L214
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/backends/sqlite3/creation.py#L43
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/backends/oracle/creation.py#L48
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/backends/oracle/creation.py#L174
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/models/base.py#L543
- used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/models/deletion.py#L316
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/migrations/migration.py#L135
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/db/migrations/migration.py#L196
- used-before-assignment: Using variable 'relation' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/core/checks/caches.py#L54
- used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/core/management/commands/makemessages.py#L126
- used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/template/defaulttags.py#L661
- used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/4fec1d2ce37241fb8fa001971c441d360ed2a196/django/contrib/gis/utils/layermapping.py#L682
- 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:
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/io/formats/style.py#L1871
- used-before-assignment: Using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/missing.py#L124
- used-before-assignment: Using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/missing.py#L253
- used-before-assignment: Using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/generic.py#L4329
- used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/_arrow_string_mixins.py#L33
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/_arrow_string_mixins.py#L60
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/string_arrow.py#L132
- used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/string_arrow.py#L135
- used-before-assignment: Using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/string_arrow.py#L356
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/array.py#L744
- 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
- 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
- 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
- used-before-assignment: Using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/accessors.py#L49
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/accessors.py#L81
- used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/arrays/arrow/accessors.py#L114
- used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/array_algos/take.py#L304
- used-before-assignment: Using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/groupby/groupby.py#L5250
- used-before-assignment: Using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/groupby/groupby.py#L5792
- used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/internals/array_manager.py#L687
- used-before-assignment: Using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/computation/pytables.py#L164
- used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/computation/eval.py#L167
- used-before-assignment: Using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/computation/expressions.py#L63
- used-before-assignment: Using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/indexes/base.py#L5026
- used-before-assignment: Using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/indexes/datetimelike.py#L284
- used-before-assignment: Using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/reshape/pivot.py#L244
- used-before-assignment: Using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/reshape/merge.py#L1802
- used-before-assignment: Using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/core/reshape/merge.py#L1802
- used-before-assignment: Using variable 'ax_freq' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/plotting/test_datetimelike.py#L1743
- used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/frame/test_constructors.py#L376
- 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
- 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
- used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/test_stata.py#L2047
- used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/test_gcs.py#L105
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/io/formats/test_format.py#L2249
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/window/test_expanding.py#L259
- used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/window/test_rolling.py#L1646
- 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
- 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
- used-before-assignment: Using variable 'expected_dtype' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/extension/test_masked.py#L368
- 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
- used-before-assignment: Using variable 'raises' before assignment https://github.com/pandas-dev/pandas/blob/4921e0b2290f881e17bd21685289e46ae4894155/pandas/tests/strings/test_api.py#L146
- 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:
- used-before-assignment: Using variable 'alias' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/search/events/builder/discover.py#L1833
- 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
- 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
- used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/jira_server/integration.py#L574
- used-before-assignment: Using variable 'state' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/slack/webhooks/action.py#L416
- used-before-assignment: Using variable 'values' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/slack/webhooks/action.py#L418
- used-before-assignment: Using variable 'payload' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/slack/actions/notification.py#L103
- used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/integrations/jira/integration.py#L461
- used-before-assignment: Using variable 'subscriptions_by_team_id' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/models/groupsubscription.py#L205
- used-before-assignment: Using variable 'freq_delta' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/api/helpers/span_analysis.py#L86
- used-before-assignment: Using variable 'duration_delta' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/api/helpers/span_analysis.py#L87
- used-before-assignment: Using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/snuba/metrics_layer/query.py#L288
- used-before-assignment: Using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/0bc86273056d9adbdcf91237ca190aca1e08b557/src/sentry/snuba/metrics_layer/query.py#L617
- 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:
- 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:
- used-before-assignment: Using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/phystokens.py#L161
- used-before-assignment: Using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/pytracer.py#L267
- used-before-assignment: Using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/pytracer.py#L269
- used-before-assignment: Using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/pytracer.py#L271
- used-before-assignment: Using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/env.py#L76
- used-before-assignment: Using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/1a416b678695531c0131065e5dc9cc621a47ed5f/coverage/html.py#L140
- 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
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...
primer shows more traffic driven into #6804, so we may want to block this on a resolution there.
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- used-before-assignment: Using variable 'iattrs' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/builder.py#L270
- used-before-assignment: Using variable 'targets' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/brain/brain_namedtuple_enum.py#L425
- 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:
- used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/wemo/fan.py#L166
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/vacuum/device_action.py#L77
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/vacuum/reproduce_state.py#L87
- used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/neato/camera.py#L90
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/remote/reproduce_state.py#L55
- used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/itunes/media_player.py#L73
- used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/energy/sensor.py#L333
- used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/energy/sensor.py#L334
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/water_heater/device_action.py#L78
- used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/dialogflow/init.py#L91
- used-before-assignment: Using variable 'sensor_name' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/tellstick/sensor.py#L147
- 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
- used-before-assignment: Using variable 'descriptions' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/tradfri/sensor.py#L162
- used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/blackbird/media_player.py#L107
- used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/recorder/util.py#L602
- 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
- used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/yeelight/light.py#L733
- used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/yeelight/light.py#L741
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_action.py#L144
- used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_trigger.py#L160
- used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_trigger.py#L177
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_condition.py#L140
- used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/device_condition.py#L157
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cover/reproduce_state.py#L87
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/lock/device_action.py#L89
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/lock/reproduce_state.py#L57
- used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/google/calendar.py#L483
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alert/reproduce_state.py#L53
- 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
- used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/awair/config_flow.py#L187
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/script/config.py#L133
- used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/emulated_kasa/init.py#L141
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/forked_daapd/media_player.py#L865
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/mysensors/climate.py#L177
- used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/dynalite/init.py#L77
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/climate/device_action.py#L98
- used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/climate/init.py#L651
- used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/homeassistant/triggers/time.py#L108
- used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/homeassistant/triggers/time.py#L109
- used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/homeassistant/triggers/time.py#L110
- used-before-assignment: Using variable 'WebexTeamsAPI' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cisco_webex_teams/notify.py#L44
- used-before-assignment: Using variable 'exceptions' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cisco_webex_teams/notify.py#L48
- used-before-assignment: Using variable 'ApiError' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/cisco_webex_teams/notify.py#L72
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/plex/media_browser.py#L168
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/roon/event.py#L70
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/roon/media_player.py#L167
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/automation/config.py#L101
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/automation/reproduce_state.py#L55
- used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/http/auth.py#L231
- used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/unifiprotect/media_source.py#L458
- used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/unifiprotect/media_source.py#L608
- used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/nws/weather.py#L246
- used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarmdecoder/init.py#L60
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarmdecoder/config_flow.py#L114
- used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarmdecoder/config_flow.py#L123
- used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/alarmdecoder/config_flow.py#L148
- used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/steam_online/config_flow.py#L74
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/timer/reproduce_state.py#L64
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/omnilogic/sensor.py#L153
- used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/rflink/init.py#L546
- 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
- 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
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/switch/reproduce_state.py#L55
- used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/tado/sensor.py#L286
- 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
- used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/color_extractor/init.py#L107
- used-before-assignment: Using variable 'item_id' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L112
- used-before-assignment: Using variable 'item_name' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L126
- used-before-assignment: Using variable 'item_coordinator' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L134
- used-before-assignment: Using variable 'item_device_name' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L137
- used-before-assignment: Using variable 'item_manufacturer' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L138
- used-before-assignment: Using variable 'item_model' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L139
- used-before-assignment: Using variable 'item_is_dimmer' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/control4/light.py#L141
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/components/home_connect/api.py#L101
- 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
- used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/helpers/deprecation.py#L288
- used-before-assignment: Using variable 'event' before assignment https://github.com/home-assistant/core/blob/9e46c2e2b308a7c60bd4b25de86197ee0e95440e/homeassistant/helpers/collection.py#L221
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L67
- 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:
- 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:
- used-before-assignment: Using variable 'replacementDuration' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L1715
- used-before-assignment: Using variable 'variantType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L2318
- used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/pitch.py#L584
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L105
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L106
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L107
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L108
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L175
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L176
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L177
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L178
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L246
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L247
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L248
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L249
- used-before-assignment: Using variable 'p' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/analysis/reduceChords.py#L577
- used-before-assignment: Using variable 'brailleArt' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/braille/basic.py#L617
- used-before-assignment: Using variable 'nNext' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/stream/tests.py#L6161
- 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:
- used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/b510adf9efcd21e7ff2ab8e93e925f3e8363bb7d/src/_pytest/reports.py#L574
- used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/b510adf9efcd21e7ff2ab8e93e925f3e8363bb7d/src/_pytest/fixtures.py#L192
- used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/b510adf9efcd21e7ff2ab8e93e925f3e8363bb7d/src/_pytest/assertion/rewrite.py#L1009
- 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:
- used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/gis/utils/layermapping.py#L686
- used-before-assignment: Using variable 'order_type' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/admin/views/main.py#L525
- used-before-assignment: Using variable 'error_messages' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/forms/models.py#L466
- used-before-assignment: Using variable 'relation' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/checks/caches.py#L54
- used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/management/commands/makemessages.py#L126
- used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/transaction.py#L245
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/base.py#L543
- used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/deletion.py#L314
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/base/creation.py#L217
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L48
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L174
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/sqlite3/creation.py#L43
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L135
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L196
- 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:
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/formats/style.py#L1918
- used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_stata.py#L2049
- used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_gcs.py#L105
- 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
- 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
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/formats/test_format.py#L2249
- 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
- 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
- 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
- used-before-assignment: Using variable 'arrays' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/frame/test_constructors.py#L358
- 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
- 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
- used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/window/test_expanding.py#L250
- used-before-assignment: Using variable 'ser' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/window/test_rolling.py#L1501
- used-before-assignment: Using variable 'ax_freq' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/plotting/test_datetimelike.py#L1743
- 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
- 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
- used-before-assignment: Using variable 'raises' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/strings/test_api.py#L146
- used-before-assignment: Using variable 'expected_dtype' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/extension/test_masked.py#L377
- used-before-assignment: Using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/generic.py#L4109
- used-before-assignment: Using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/missing.py#L124
- used-before-assignment: Using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/missing.py#L253
- used-before-assignment: Using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/indexes/datetimelike.py#L247
- used-before-assignment: Using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/indexes/base.py#L4647
- used-before-assignment: Using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/computation/expressions.py#L63
- used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/computation/eval.py#L170
- used-before-assignment: Using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/computation/pytables.py#L164
- used-before-assignment: Using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/reshape/pivot.py#L230
- used-before-assignment: Using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/reshape/merge.py#L1791
- used-before-assignment: Using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/reshape/merge.py#L1791
- used-before-assignment: Using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/groupby/groupby.py#L5066
- used-before-assignment: Using variable 'weights_arr' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/groupby/groupby.py#L5508
- used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/array_algos/take.py#L304
- used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/_arrow_string_mixins.py#L33
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/_arrow_string_mixins.py#L60
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/string_arrow.py#L133
- used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/string_arrow.py#L136
- used-before-assignment: Using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/string_arrow.py#L346
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/array.py#L743
- 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
- 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
- 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
- used-before-assignment: Using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/accessors.py#L49
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/core/arrays/arrow/accessors.py#L81
- 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:
- used-before-assignment: Using variable 'mappings' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/snuba/metrics_layer/query.py#L285
- 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
- used-before-assignment: Using variable 'subscriptions_by_team_id' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/models/groupsubscription.py#L206
- used-before-assignment: Using variable 'state' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/slack/webhooks/action.py#L512
- used-before-assignment: Using variable 'values' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/slack/webhooks/action.py#L514
- used-before-assignment: Using variable 'payload' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/slack/actions/notification.py#L112
- used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/jira_server/integration.py#L579
- used-before-assignment: Using variable 'value' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/integrations/jira/integration.py#L464
- used-before-assignment: Using variable 'alias' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/search/events/builder/discover.py#L1829
- used-before-assignment: Using variable 'freq_delta' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/api/helpers/span_analysis.py#L86
- used-before-assignment: Using variable 'duration_delta' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/api/helpers/span_analysis.py#L87
- used-before-assignment: Using variable 'deletions' before assignment https://github.com/getsentry/sentry/blob/c85504f38d034e3d878a2c92ad53986853454a89/src/sentry/runner/commands/cleanup.py#L85
- 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
- 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:
- used-before-assignment: Using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/b26dff772f750331b0c93d46dc3d8f7457f00345/psycopg/psycopg/waiting.py#L413
- used-before-assignment: Using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/b26dff772f750331b0c93d46dc3d8f7457f00345/psycopg/psycopg/connection_async.py#L335
- 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:
- used-before-assignment: Using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/pytracer.py#L267
- used-before-assignment: Using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/pytracer.py#L269
- used-before-assignment: Using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/pytracer.py#L271
- used-before-assignment: Using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/phystokens.py#L161
- used-before-assignment: Using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/env.py#L76
- used-before-assignment: Using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/1af36247955118a351999f40a6049baa179583ce/coverage/html.py#L140
- 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
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
@@ 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: |
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- used-before-assignment: Using variable 'iattrs' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/builder.py#L270
- used-before-assignment: Using variable 'targets' before assignment https://github.com/pylint-dev/astroid/blob/12ed435a97be78ce2d00f9ef818ec65d54f5ca82/astroid/brain/brain_namedtuple_enum.py#L425
- 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:
- used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/wemo/fan.py#L166
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/vacuum/device_action.py#L77
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/vacuum/reproduce_state.py#L87
- used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/neato/camera.py#L90
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/remote/reproduce_state.py#L55
- used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/itunes/media_player.py#L73
- used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/energy/sensor.py#L333
- used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/energy/sensor.py#L334
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/water_heater/device_action.py#L78
- used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/dialogflow/init.py#L91
- used-before-assignment: Using variable 'sensor_name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/tellstick/sensor.py#L147
- 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
- used-before-assignment: Using variable 'descriptions' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/tradfri/sensor.py#L162
- used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/blackbird/media_player.py#L107
- used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/recorder/util.py#L602
- 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
- used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yeelight/light.py#L733
- used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yeelight/light.py#L741
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_action.py#L144
- used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_trigger.py#L160
- used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_trigger.py#L177
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_condition.py#L140
- used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_condition.py#L157
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/reproduce_state.py#L87
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/lock/device_action.py#L89
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/lock/reproduce_state.py#L57
- used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/google/calendar.py#L483
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alert/reproduce_state.py#L53
- 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
- used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/awair/config_flow.py#L187
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/script/config.py#L133
- used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/emulated_kasa/init.py#L141
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/forked_daapd/media_player.py#L865
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/mysensors/climate.py#L177
- used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/dynalite/init.py#L77
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/climate/device_action.py#L98
- used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/climate/init.py#L651
- used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L108
- used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L109
- used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L110
- used-before-assignment: Using variable 'WebexTeamsAPI' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L44
- used-before-assignment: Using variable 'exceptions' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L48
- used-before-assignment: Using variable 'ApiError' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L72
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/plex/media_browser.py#L168
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/roon/event.py#L70
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/roon/media_player.py#L167
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/automation/config.py#L101
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/automation/reproduce_state.py#L55
- used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/http/auth.py#L231
- used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/unifiprotect/media_source.py#L458
- used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/unifiprotect/media_source.py#L608
- used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/nws/weather.py#L246
- used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/init.py#L60
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L114
- used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L123
- used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L148
- used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/steam_online/config_flow.py#L74
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/timer/reproduce_state.py#L64
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/omnilogic/sensor.py#L153
- used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/rflink/init.py#L546
- 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
- 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
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/switch/reproduce_state.py#L55
- used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/tado/sensor.py#L286
- 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
- used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/color_extractor/init.py#L107
- used-before-assignment: Using variable 'item_id' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L112
- used-before-assignment: Using variable 'item_name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L126
- used-before-assignment: Using variable 'item_coordinator' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L134
- used-before-assignment: Using variable 'item_device_name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L137
- used-before-assignment: Using variable 'item_manufacturer' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L138
- used-before-assignment: Using variable 'item_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L139
- used-before-assignment: Using variable 'item_is_dimmer' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/control4/light.py#L141
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/home_connect/api.py#L101
- 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
- used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/helpers/deprecation.py#L288
- used-before-assignment: Using variable 'event' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/helpers/collection.py#L221
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L67
- 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:
- 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:
- used-before-assignment: Using variable 'replacementDuration' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L1715
- used-before-assignment: Using variable 'variantType' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/variant.py#L2318
- used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/pitch.py#L584
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L105
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L106
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L107
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L108
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L175
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L176
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L177
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L178
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L246
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L247
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L248
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L249
- used-before-assignment: Using variable 'p' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/analysis/reduceChords.py#L577
- used-before-assignment: Using variable 'brailleArt' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/braille/basic.py#L617
- used-before-assignment: Using variable 'nNext' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/stream/tests.py#L6161
- 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:
- used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/reports.py#L574
- used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/fixtures.py#L192
- used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/assertion/rewrite.py#L1009
- 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:
- used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/gis/utils/layermapping.py#L686
- used-before-assignment: Using variable 'order_type' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/admin/views/main.py#L525
- used-before-assignment: Using variable 'error_messages' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/forms/models.py#L466
- used-before-assignment: Using variable 'relation' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/checks/caches.py#L54
- used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/management/commands/makemessages.py#L126
- used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/transaction.py#L245
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/base.py#L543
- used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/deletion.py#L314
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/base/creation.py#L217
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L48
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L174
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/sqlite3/creation.py#L43
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L135
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L196
- 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:
- no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L63
- no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L63
- no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L64
- no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L64
- invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/pytables.py#L2600
- 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
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L363
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L364
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L368
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L379
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L380
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/formats/style.py#L1918
- used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_stata.py#L2049
- used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_gcs.py#L105
- 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
- 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
- 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
- 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
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L55
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L64
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L67
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L76
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L85
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L88
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L98
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L107
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L116
- 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
- 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
- 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
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L208
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L211
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L212
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L216
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L218
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L219
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L236
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L237
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L241
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L242
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L246
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L247
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L265
- unsubscriptable-object: Value 'exp' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L265
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L266
- unsubscriptable-object: Value 'exp' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L266
- 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
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/formats/test_format.py#L2249
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- useless-suppression: Useless suppression of 'unnecessary-negation' https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1182
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- unnecessary-negation: Consider changing "not val == []" to "val != []" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L140
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- useless-suppression: Useless suppression of 'unnecessary-negation' https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L312
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- 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:
- used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/wemo/fan.py#L166
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/vacuum/device_action.py#L77
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/vacuum/reproduce_state.py#L87
- used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/neato/camera.py#L90
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/remote/reproduce_state.py#L55
- used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/itunes/media_player.py#L73
- used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/energy/sensor.py#L333
- used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/energy/sensor.py#L334
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/water_heater/device_action.py#L78
- used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/dialogflow/init.py#L91
- 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
- used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/blackbird/media_player.py#L107
- used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/recorder/util.py#L602
- 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
- used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yeelight/light.py#L733
- used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/yeelight/light.py#L741
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_action.py#L144
- used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_trigger.py#L160
- used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_trigger.py#L177
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_condition.py#L140
- used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/device_condition.py#L157
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cover/reproduce_state.py#L87
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/lock/device_action.py#L89
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/lock/reproduce_state.py#L57
- used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/google/calendar.py#L483
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alert/reproduce_state.py#L53
- 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
- used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/awair/config_flow.py#L187
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/script/config.py#L133
- used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/emulated_kasa/init.py#L141
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/forked_daapd/media_player.py#L865
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/mysensors/climate.py#L177
- used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/dynalite/init.py#L77
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/climate/device_action.py#L98
- used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/climate/init.py#L651
- used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L108
- used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L109
- used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/homeassistant/triggers/time.py#L110
- used-before-assignment: Using variable 'WebexTeamsAPI' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L44
- used-before-assignment: Using variable 'exceptions' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L48
- used-before-assignment: Using variable 'ApiError' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/cisco_webex_teams/notify.py#L72
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/plex/media_browser.py#L168
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/roon/event.py#L70
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/roon/media_player.py#L167
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/automation/config.py#L101
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/automation/reproduce_state.py#L55
- used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/http/auth.py#L231
- used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/unifiprotect/media_source.py#L458
- used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/unifiprotect/media_source.py#L608
- used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/nws/weather.py#L246
- used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/init.py#L60
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L114
- used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L123
- used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/alarmdecoder/config_flow.py#L148
- used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/steam_online/config_flow.py#L74
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/timer/reproduce_state.py#L64
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/omnilogic/sensor.py#L153
- used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/rflink/init.py#L546
- 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
- 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
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/switch/reproduce_state.py#L55
- used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/tado/sensor.py#L286
- 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
- used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/components/color_extractor/init.py#L107
- 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
- used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/d9addc45f9f59df2e8ec93eb93db34236b1b2a6e/homeassistant/helpers/deprecation.py#L288
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/ad182e79524e20d2e0ee091922084b1104455581/src_py/sysfont.py#L67
- 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:
- 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:
- used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/pitch.py#L584
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L105
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L106
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L107
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L108
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L175
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L176
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L177
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L178
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L246
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L247
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/0927e39231a8a748a78f0f6499dd246942fed0e4/music21/figuredBass/resolution.py#L248
- 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:
- used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/reports.py#L574
- used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/fixtures.py#L192
- used-before-assignment: Using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/a2a9aa6cde406e218d85b650ec21b13fb1b9dfd4/src/_pytest/assertion/rewrite.py#L1009
- 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:
- used-before-assignment: Using variable 'progress_interval' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/contrib/gis/utils/layermapping.py#L686
- used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/core/management/commands/makemessages.py#L126
- used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/transaction.py#L245
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/base.py#L543
- used-before-assignment: Using variable 'parents' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/models/deletion.py#L314
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/base/creation.py#L217
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L48
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/oracle/creation.py#L174
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/backends/sqlite3/creation.py#L43
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L135
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/6e1ece7ed522c904a674966fa985159b7bbf1545/django/db/migrations/migration.py#L196
- 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:
- no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L63
- no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L63
- no-member: Instance of 'date' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L64
- no-member: Instance of 'datetime' has no 'to_pydatetime' member https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/_testing/_hypothesis.py#L64
- invalid-unary-operand-type: bad operand type for unary ~: NoneType https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/pytables.py#L2600
- 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
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L363
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L364
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L368
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L379
- unsubscriptable-object: Value 'table' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/json/_table_schema.py#L380
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/io/formats/style.py#L1918
- used-before-assignment: Using variable 'fp' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_stata.py#L2049
- used-before-assignment: Using variable 'df2' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/test_gcs.py#L105
- 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
- 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
- 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
- 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
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L55
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L64
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L67
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L76
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L85
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L88
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L98
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L107
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L116
- 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
- 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
- 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
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L208
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L211
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L212
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L216
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L218
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L219
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L236
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L237
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L241
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L242
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L246
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L247
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L265
- unsubscriptable-object: Value 'exp' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L265
- unsubscriptable-object: Value 'result' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L266
- unsubscriptable-object: Value 'exp' is unsubscriptable https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/parser/test_textreader.py#L266
- 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
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/io/formats/test_format.py#L2249
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- useless-suppression: Useless suppression of 'unnecessary-negation' https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timedelta/test_arithmetic.py#L1182
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- unnecessary-negation: Consider changing "not val == []" to "val != []" https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L140
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- useless-suppression: Useless suppression of 'unnecessary-negation' https://github.com/pandas-dev/pandas/blob/54d2033fabc1a064b05842b41f8247ae3fdd6fd6/pandas/tests/scalar/timestamp/test_comparisons.py#L312
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
Yeah, we need something. Maybe we're back to the original question of whether this should be a separate message (possibly-used-before-assignment)?
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.
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.
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- 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:
- used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/loader.py#L972
- used-before-assignment: Using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/loader.py#L1158
- used-before-assignment: Using variable 'data_schema' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/awair/config_flow.py#L187
- used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/husqvarna_automower/diagnostics.py#L47
- 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
- used-before-assignment: Using variable 'map_data' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/neato/camera.py#L92
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/climate/device_action.py#L99
- used-before-assignment: Using variable 'translation_key' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/climate/init.py#L704
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/forked_daapd/media_player.py#L863
- used-before-assignment: Using variable 'name' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/steam_online/config_flow.py#L80
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/plex/media_browser.py#L169
- used-before-assignment: Using variable 'year' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/homeassistant/triggers/time.py#L116
- used-before-assignment: Using variable 'month' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/homeassistant/triggers/time.py#L117
- used-before-assignment: Using variable 'day' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/homeassistant/triggers/time.py#L118
- used-before-assignment: Using variable 'device' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/config_flow.py#L118
- used-before-assignment: Using variable 'title' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/config_flow.py#L127
- used-before-assignment: Using variable 'schema' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/config_flow.py#L152
- used-before-assignment: Using variable 'controller' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/init.py#L61
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/script/config.py#L134
- used-before-assignment: Using variable 'pywemo_humidity' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/wemo/fan.py#L167
- used-before-assignment: Using variable 'event_text' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/unifiprotect/media_source.py#L458
- used-before-assignment: Using variable 'recording_start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/unifiprotect/media_source.py#L608
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/omnilogic/sensor.py#L154
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_action.py#L145
- used-before-assignment: Using variable 'state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_condition.py#L141
- used-before-assignment: Using variable 'position_attr' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_condition.py#L158
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/reproduce_state.py#L88
- used-before-assignment: Using variable 'to_state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_trigger.py#L161
- used-before-assignment: Using variable 'position' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/cover/device_trigger.py#L178
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/remote/reproduce_state.py#L56
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'max_bind_vars' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/recorder/util.py#L605
- 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
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alert/reproduce_state.py#L54
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/mysensors/climate.py#L178
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/roon/media_player.py#L168
- used-before-assignment: Using variable 'dev_model' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/roon/event.py#L71
- 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
- used-before-assignment: Using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/rflink/init.py#L547
- used-before-assignment: Using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/dialogflow/init.py#L92
- used-before-assignment: Using variable 'valid_units' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/energy/sensor.py#L342
- used-before-assignment: Using variable 'default_price_unit' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/energy/sensor.py#L343
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/automation/reproduce_state.py#L56
- used-before-assignment: Using variable 'blueprint_inputs' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/automation/config.py#L102
- used-before-assignment: Using variable 'tado_sensor_data' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/tado/sensor.py#L280
- 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
- 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
- used-before-assignment: Using variable 'bridge_attr' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/dynalite/init.py#L79
- used-before-assignment: Using variable 'time' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/nws/weather.py#L235
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/switch/reproduce_state.py#L56
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/timer/reproduce_state.py#L65
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/water_heater/device_action.py#L79
- used-before-assignment: Using variable 'offset_value' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/google/calendar.py#L483
- used-before-assignment: Using variable 'blackbird' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/blackbird/media_player.py#L108
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/lock/device_action.py#L90
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/lock/reproduce_state.py#L58
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/vacuum/device_action.py#L78
- used-before-assignment: Using variable 'service' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/vacuum/reproduce_state.py#L88
- 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
- used-before-assignment: Using variable 'power' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/emulated_kasa/init.py#L142
- used-before-assignment: Using variable 'color' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/color_extractor/init.py#L108
- 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
- used-before-assignment: Using variable 'auth_type' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/http/auth.py#L232
- used-before-assignment: Using variable 'response' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/itunes/media_player.py#L74
- used-before-assignment: Using variable 'duration' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yeelight/light.py#L734
- used-before-assignment: Using variable 'count' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yeelight/light.py#L742
- used-before-assignment: Using variable 'breaks_in_ha_version' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/helpers/deprecation.py#L289
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/8f171ab5023ee8f483fdd8e7437c06fdcccf1906/src_py/sysfont.py#L67
- 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:
- 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:
- used-before-assignment: Using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
- used-before-assignment: Using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
- used-before-assignment: Using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
- used-before-assignment: Using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
- used-before-assignment: Using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
- 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:
- used-before-assignment: Using variable 'scoped_item_path' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/fixtures.py#L198
- used-before-assignment: Using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/reports.py#L573
- used-before-assignment: Using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/config/init.py#L1355
- 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:
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/template/defaulttags.py#L662
- used-before-assignment: Using variable 'content' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/core/management/commands/makemessages.py#L126
- used-before-assignment: Using variable 'sid' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/transaction.py#L245
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/sqlite3/creation.py#L43
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/oracle/creation.py#L48
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/oracle/creation.py#L174
- used-before-assignment: Using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/base/creation.py#L217
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/migrations/migration.py#L135
- used-before-assignment: Using variable 'collected_sql_before' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/migrations/migration.py#L196
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/models/base.py#L542
- 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:
- used-before-assignment: Using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/generic.py#L4107
- used-before-assignment: Using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/missing.py#L125
- used-before-assignment: Using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/missing.py#L252
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/string_arrow.py#L135
- used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/string_arrow.py#L138
- used-before-assignment: Using variable 'fallback_performancewarning' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/string_arrow.py#L349
- used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/_arrow_string_mixins.py#L33
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/_arrow_string_mixins.py#L60
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L744
- 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
- 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
- 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
- used-before-assignment: Using variable 'ArrowDtype' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/accessors.py#L49
- used-before-assignment: Using variable 'pa' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/accessors.py#L81
- used-before-assignment: Using variable 'pc' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/accessors.py#L112
- used-before-assignment: Using variable 'join_index' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/indexes/base.py#L4632
- used-before-assignment: Using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/indexes/datetimelike.py#L275
- used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/array_algos/take.py#L244
- used-before-assignment: Using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/merge.py#L1796
- used-before-assignment: Using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/merge.py#L1796
- used-before-assignment: Using variable 'values_multi' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/pivot.py#L231
- used-before-assignment: Using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/eval.py#L171
- used-before-assignment: Using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/pytables.py#L165
- used-before-assignment: Using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/expressions.py#L64
- used-before-assignment: Using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/groupby/groupby.py#L5052
- 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:
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L19
- no-member: Class 'ProjectKey' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L522
- no-member: Class 'GroupResolution' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L2038
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/constants.py#L16
- no-member: Class 'ProjectOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/reprocessing.py#L43
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/occurrence_consumer.py#L10
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/occurrence_consumer.py#L10
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/issue_occurrence.py#L9
- no-member: Class 'GroupSnooze' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/receivers.py#L16
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L1
- no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L1
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L7
- too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L4
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ingest.py#L54
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ignored.py#L9
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ignored.py#L9
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/organization_group_index.py#L6
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/group_events.py#L7
- 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
- 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
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/logging/handlers.py#L4
- 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
- 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
- no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/tasks/recalibrate_orgs.py#L88
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L11
- 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
- no-member: Class 'ProjectTransactionThreshold' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L863
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L11
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L11
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L397
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L494
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L507
- 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
- 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
- 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
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L14
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L14
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L15
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/executors.py#L16
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/executors.py#L16
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/mail/notifications.py#L8
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L11
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L11
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L203
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/history/preview.py#L8
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/history/preview.py#L8
- 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
- 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
- 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
- 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
- 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
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_severity.py#L73
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L8
- 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
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L88
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L4
- 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
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L45
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_release.py#L34
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_release.py#L71
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_category.py#L47
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/actions/utils.py#L119
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/actions/utils.py#L129
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/conditions/event_frequency.py#L13
- 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
- no-name-in-module: No name 'validators' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/stacktraces/functions.py#L8
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/analytics/event.py#L9
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/analytics/event.py#L9
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/types.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/types.py#L6
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/validators.py#L6
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/validators.py#L6
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L17
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L17
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L383
- no-member: Class 'MonitorIncident' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L668
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/testutils.py#L4
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/testutils.py#L4
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L1
- no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L1
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L7
- too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L4
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/utils.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/utils.py#L5
- 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
- no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L60
- no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L65
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L80
- no-member: Class 'MonitorEnvironment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L80
- no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L123
- no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L148
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L178
- no-member: Class 'MonitorEnvironment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L178
- no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L191
- no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L216
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/logic/mark_failed.py#L92
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/tasks/detect_broken_monitor_envs.py#L12
- 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
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L11
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L11
- no-member: Class 'ControlOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L194
- no-member: Class 'Option' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L194
- no-member: Class 'ControlOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L222
- no-member: Class 'Option' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L222
- no-name-in-module: No name 'signals' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/init.py#L2
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L1
- 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
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L7
- 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
- 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
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L1
- 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
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L7
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/interfaces/releasehook.py#L4
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/interfaces/releasehook.py#L4
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L1
- 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
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L7
- 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
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L1
- 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
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L7
- 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
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/base/configuration.py#L4
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/base/configuration.py#L5
- import-error: Unable to import 'django.utils.html' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue2.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue2.py#L5
- import-error: Unable to import 'django.utils.html' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue.py#L5
- no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L74
- no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L80
- no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L229
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/buffer/redis.py#L10
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/buffer/base.py#L101
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/models.py#L3
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/models.py#L3
- no-member: Class 'Project' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/usecases/ingest/init.py#L150
- 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
- no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/migrations/0001_init_replays.py#L48
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L5
- no-member: Class 'Repository' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L92
- no-member: Class 'Repository' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L209
- no-member: Class 'ReleaseProject' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L283
- no-member: Class 'OrganizationMember' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/owners.py#L19
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/onboarding.py#L7
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/onboarding.py#L7
- 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
- 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
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/security.py#L1
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/contexts.py#L6
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/base.py#L8
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/stacktrace.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/http.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/base.py#L9
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/backend.py#L10
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/backend.py#L10
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/models.py#L2
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/models.py#L2
- 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
- no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/migrations/0001_initial.py#L19
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/feedback/models.py#L2
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/feedback/models.py#L2
- 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
- no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/feedback/migrations/0001_feedback.py#L45
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/auth.py#L15
- arguments-differ: Variadics removed in overriding 'EmailAuthBackend.authenticate' method https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/auth.py#L414
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/groupreference.py#L24
- 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
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/committers.py#L193
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/committers.py#L244
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/committers.py#L248
- no-member: Class 'Commit' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/committers.py#L252
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/versioning.py#L1
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/redis.py#L10
- no-name-in-module: No name 'validators' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/utils/avatar.py#L13
- 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
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- 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:
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/loader.py#L972
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/loader.py#L1158
- 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
- used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/husqvarna_automower/diagnostics.py#L47
- 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
- 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
- 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
- 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
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/forked_daapd/media_player.py#L863
- 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
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/plex/media_browser.py#L169
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/alarmdecoder/init.py#L61
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/omnilogic/sensor.py#L154
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/mysensors/climate.py#L178
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/rflink/init.py#L547
- possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/dialogflow/init.py#L92
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/nws/weather.py#L235
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yeelight/light.py#L734
- possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/f91994d788305436f6998f5d68cdfcee29a2ab88/homeassistant/components/yeelight/light.py#L742
- 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
- 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:
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/8f171ab5023ee8f483fdd8e7437c06fdcccf1906/src_py/sysfont.py#L67
- 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:
- 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:
- possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
- 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:
- 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
- possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/reports.py#L573
- possibly-used-before-assignment: Possibly using variable 'source' before assignment https://github.com/pytest-dev/pytest/blob/cc588d1a1ae549f5e9cf52df2fe132229fcc57cd/src/_pytest/config/init.py#L1355
- 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:
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/template/defaulttags.py#L662
- possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/core/management/commands/makemessages.py#L126
- possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/transaction.py#L245
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/sqlite3/creation.py#L43
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/oracle/creation.py#L48
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/oracle/creation.py#L174
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/backends/base/creation.py#L217
- 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
- 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
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/81da153e5f001a418cce06fd06694ab8452c7db9/django/db/models/base.py#L542
- 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:
- possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/generic.py#L4107
- possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/missing.py#L125
- possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/missing.py#L252
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/arrays/arrow/array.py#L744
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/indexes/datetimelike.py#L275
- used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/array_algos/take.py#L244
- possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/merge.py#L1796
- possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/reshape/merge.py#L1796
- 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
- possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/eval.py#L171
- possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/pytables.py#L165
- possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/computation/expressions.py#L64
- possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/9cd5e5546c36c54dc8c3fab3dc20b092f812362e/pandas/core/groupby/groupby.py#L5052
- 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:
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L19
- no-member: Class 'ProjectKey' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L522
- no-member: Class 'GroupResolution' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/event_manager.py#L2038
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/constants.py#L16
- no-member: Class 'ProjectOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/reprocessing.py#L43
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/occurrence_consumer.py#L10
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/occurrence_consumer.py#L10
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/issue_occurrence.py#L9
- no-member: Class 'GroupSnooze' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/receivers.py#L16
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L1
- no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L1
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L7
- too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/apps.py#L4
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ingest.py#L54
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ignored.py#L9
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/ignored.py#L9
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/organization_group_index.py#L6
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/issues/endpoints/group_events.py#L7
- 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
- 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
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/logging/handlers.py#L4
- 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
- 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
- no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/dynamic_sampling/tasks/recalibrate_orgs.py#L88
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L11
- 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
- no-member: Class 'ProjectTransactionThreshold' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/relay/config/metric_extraction.py#L863
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L11
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L11
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L397
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L494
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/utils.py#L507
- 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
- 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
- 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
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L14
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L14
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/backend.py#L15
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/executors.py#L16
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/search/snuba/executors.py#L16
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/mail/notifications.py#L8
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L11
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L11
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/processor.py#L203
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/history/preview.py#L8
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/history/preview.py#L8
- 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
- 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
- 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
- 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
- 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
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_severity.py#L73
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L8
- 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
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/age_comparison.py#L88
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L4
- 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
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_occurrences.py#L45
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_release.py#L34
- no-member: Class 'Release' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/latest_release.py#L71
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/filters/issue_category.py#L47
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/actions/utils.py#L119
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/actions/utils.py#L129
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/rules/conditions/event_frequency.py#L13
- 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
- no-name-in-module: No name 'validators' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/stacktraces/functions.py#L8
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/analytics/event.py#L9
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/analytics/event.py#L9
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/types.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/types.py#L6
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/validators.py#L6
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/validators.py#L6
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L17
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L17
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L383
- no-member: Class 'MonitorIncident' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/models.py#L668
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/testutils.py#L4
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/testutils.py#L4
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L1
- no-name-in-module: No name 'apps' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L1
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L7
- too-few-public-methods: Too few public methods (1/2) https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/apps.py#L4
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/utils.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/utils.py#L5
- 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
- no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L60
- no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L65
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L80
- no-member: Class 'MonitorEnvironment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L80
- no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L123
- no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L148
- no-member: Class 'Environment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L178
- no-member: Class 'MonitorEnvironment' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L178
- no-member: Class 'Monitor' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L191
- no-member: Class 'MonitorCheckIn' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/endpoints/base.py#L216
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- no-member: Class 'Organization' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/logic/mark_failed.py#L92
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/monitors/tasks/detect_broken_monitor_envs.py#L12
- 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
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L11
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L11
- no-member: Class 'ControlOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L194
- no-member: Class 'Option' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L194
- no-member: Class 'ControlOption' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L222
- no-member: Class 'Option' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/store.py#L222
- no-name-in-module: No name 'signals' in module 'django.core' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/options/init.py#L2
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L1
- 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
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_urls/apps.py#L7
- 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
- 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
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L1
- 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
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_webhooks/apps.py#L7
- 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
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/interfaces/releasehook.py#L4
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/interfaces/releasehook.py#L4
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L1
- 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
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_useragents/apps.py#L7
- 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
- import-error: Unable to import 'django.apps' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L1
- 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
- missing-function-docstring: Missing function or method docstring https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L7
- no-self-use: Method could be a function https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/sentry_interface_types/apps.py#L7
- 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
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/base/configuration.py#L4
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/base/configuration.py#L5
- import-error: Unable to import 'django.utils.html' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue2.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue2.py#L5
- import-error: Unable to import 'django.utils.html' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/bases/issue.py#L5
- no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L74
- no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L80
- no-member: Class 'Integration' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/plugins/providers/integration_repository.py#L229
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/buffer/redis.py#L10
- no-member: Class 'Group' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/buffer/base.py#L101
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/models.py#L3
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/models.py#L3
- no-member: Class 'Project' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/usecases/ingest/init.py#L150
- 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
- no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/replays/migrations/0001_init_replays.py#L48
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L5
- no-member: Class 'Repository' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L92
- no-member: Class 'Repository' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L209
- no-member: Class 'ReleaseProject' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/releases.py#L283
- no-member: Class 'OrganizationMember' has no 'DoesNotExist' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/owners.py#L19
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/onboarding.py#L7
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/receivers/onboarding.py#L7
- 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
- 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
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/security.py#L1
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/contexts.py#L6
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/base.py#L8
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/stacktrace.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/interfaces/http.py#L5
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/base.py#L9
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/backend.py#L10
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/backend.py#L10
- import-error: Unable to import 'django.utils' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/models.py#L2
- no-name-in-module: No name 'utils' in module 'django' https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/django/models.py#L2
- 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
- no-member: Module 'django' has no 'utils' member https://github.com/getsentry/sentry/blob/56fbc29faf2ad2bfeb080d82bbc7bbddaa02e328/src/sentry/nodestore/migrations/0001_initial.py#L19
- 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
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- 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:
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/loader.py#L969
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/loader.py#L1155
- 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
- used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/husqvarna_automower/diagnostics.py#L47
- 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
- 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
- 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
- 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
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/forked_daapd/media_player.py#L863
- 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
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/plex/media_browser.py#L169
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/init.py#L61
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/omnilogic/sensor.py#L154
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/mysensors/climate.py#L178
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/rflink/init.py#L547
- possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/dialogflow/init.py#L92
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/nws/weather.py#L235
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yeelight/light.py#L734
- possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yeelight/light.py#L742
- 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
- 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:
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/9cb30af95d9143dbbf52c13817753c54d5d2f5fe/src_py/sysfont.py#L67
- 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:
- 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:
- possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
- 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:
- 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
- possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/reports.py#L573
- possibly-used-before-assignment: Possibly using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/assertion/rewrite.py#L1007
- 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:
- used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/template/defaulttags.py#L662
- possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/core/management/commands/makemessages.py#L126
- possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/transaction.py#L245
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/sqlite3/creation.py#L43
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L48
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L174
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/base/creation.py#L217
- 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
- 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
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/models/base.py#L542
- 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:
- possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/generic.py#L4107
- possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L125
- possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L252
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L744
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/indexes/datetimelike.py#L275
- used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/array_algos/take.py#L244
- possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
- possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
- 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
- possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/eval.py#L171
- possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/pytables.py#L165
- possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/expressions.py#L64
- possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/groupby/groupby.py#L5052
- 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:
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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:
- possibly-used-before-assignment: Possibly using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/waiting.py#L414
- possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/connection_async.py#L337
- 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:
- possibly-used-before-assignment: Possibly using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/phystokens.py#L162
- possibly-used-before-assignment: Possibly using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/env.py#L76
- possibly-used-before-assignment: Possibly using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L263
- possibly-used-before-assignment: Possibly using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L265
- possibly-used-before-assignment: Possibly using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L267
- possibly-used-before-assignment: Possibly using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L143
- 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
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- 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:
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/loader.py#L969
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/loader.py#L1155
- 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
- used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/husqvarna_automower/diagnostics.py#L47
- 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
- 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
- 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
- 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
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/forked_daapd/media_player.py#L863
- 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
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/plex/media_browser.py#L169
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/alarmdecoder/init.py#L61
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/omnilogic/sensor.py#L154
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/mysensors/climate.py#L178
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/rflink/init.py#L547
- possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/dialogflow/init.py#L92
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/nws/weather.py#L235
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yeelight/light.py#L734
- possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/4e983d710fd691c222806b1ec6e8c78445e29750/homeassistant/components/yeelight/light.py#L742
- 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
- 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:
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/9cb30af95d9143dbbf52c13817753c54d5d2f5fe/src_py/sysfont.py#L67
- 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:
- 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:
- possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
- 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:
- 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
- possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/reports.py#L573
- possibly-used-before-assignment: Possibly using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/assertion/rewrite.py#L1007
- 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:
- used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/template/defaulttags.py#L662
- possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/core/management/commands/makemessages.py#L126
- possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/transaction.py#L245
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/sqlite3/creation.py#L43
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L48
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L174
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/base/creation.py#L217
- 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
- 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
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/models/base.py#L542
- 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:
- possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/generic.py#L4107
- possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L125
- possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L252
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L744
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/indexes/datetimelike.py#L275
- used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/array_algos/take.py#L244
- possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
- possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
- 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
- possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/eval.py#L171
- possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/pytables.py#L165
- possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/expressions.py#L64
- possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/groupby/groupby.py#L5052
- 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:
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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:
- possibly-used-before-assignment: Possibly using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/waiting.py#L414
- possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/connection_async.py#L337
- 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:
- possibly-used-before-assignment: Possibly using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/phystokens.py#L162
- possibly-used-before-assignment: Possibly using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/env.py#L76
- possibly-used-before-assignment: Possibly using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L263
- possibly-used-before-assignment: Possibly using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L265
- possibly-used-before-assignment: Possibly using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L267
- possibly-used-before-assignment: Possibly using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L143
- 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
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- 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:
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/loader.py#L969
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/loader.py#L1155
- 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
- used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/husqvarna_automower/diagnostics.py#L47
- 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
- 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
- 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
- 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
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/forked_daapd/media_player.py#L863
- 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
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/plex/media_browser.py#L169
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/alarmdecoder/init.py#L61
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/omnilogic/sensor.py#L154
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/mysensors/climate.py#L178
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/rflink/init.py#L547
- possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/dialogflow/init.py#L92
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/nws/weather.py#L235
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/yeelight/light.py#L734
- possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/af7d0187cb2596c0562518150ba5a5d964255234/homeassistant/components/yeelight/light.py#L742
- 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
- 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:
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/9cb30af95d9143dbbf52c13817753c54d5d2f5fe/src_py/sysfont.py#L67
- 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:
- 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:
- possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
- 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:
- 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
- possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/reports.py#L573
- possibly-used-before-assignment: Possibly using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/74f05648d5ea9e69d75f27a77972756ee32f6730/src/_pytest/assertion/rewrite.py#L1007
- 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:
- used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/template/defaulttags.py#L662
- possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/core/management/commands/makemessages.py#L126
- possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/transaction.py#L245
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/sqlite3/creation.py#L43
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L48
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/oracle/creation.py#L174
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/backends/base/creation.py#L217
- 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
- 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
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/ca5cd3e3e8e53f15e68ccd727ec8fe719cc48099/django/db/models/base.py#L542
- 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:
- possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/generic.py#L4107
- possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L125
- possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/missing.py#L252
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/arrays/arrow/array.py#L744
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/indexes/datetimelike.py#L275
- used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/array_algos/take.py#L244
- possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
- possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/reshape/merge.py#L1796
- 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
- possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/eval.py#L171
- possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/pytables.py#L165
- possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/computation/expressions.py#L64
- possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/d460abddac3e810d84df9ae27d1b907f3b2562f6/pandas/core/groupby/groupby.py#L5052
- 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:
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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:
- possibly-used-before-assignment: Possibly using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/waiting.py#L414
- possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/6230ddd1be93b0a051bab1aeb21b93e4bc18b4fb/psycopg/psycopg/connection_async.py#L337
- 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:
- possibly-used-before-assignment: Possibly using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/phystokens.py#L162
- possibly-used-before-assignment: Possibly using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/env.py#L76
- possibly-used-before-assignment: Possibly using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L263
- possibly-used-before-assignment: Possibly using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L265
- possibly-used-before-assignment: Possibly using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L267
- possibly-used-before-assignment: Possibly using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L143
- 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
🤖 Effect of this PR on checked open source code: 🤖
Effect on astroid: The following messages are now emitted:
- 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:
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/loader.py#L969
- possibly-used-before-assignment: Possibly using variable 'start' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/loader.py#L1159
- 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
- used-before-assignment: Using variable 'mower_id' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/husqvarna_automower/diagnostics.py#L47
- 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
- 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
- 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
- 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
- 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
- undefined-variable: Undefined variable 'other_sources' https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/forked_daapd/media_player.py#L863
- 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
- used-before-assignment: Using variable 'hub_location' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/plex/media_browser.py#L169
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'controller' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/alarmdecoder/init.py#L61
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'state' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/omnilogic/sensor.py#L154
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'value_type' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/mysensors/climate.py#L178
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'cmd' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/rflink/init.py#L548
- possibly-used-before-assignment: Possibly using variable 'parameters' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/dialogflow/init.py#L92
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'time' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/nws/weather.py#L235
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'duration' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/yeelight/light.py#L734
- possibly-used-before-assignment: Possibly using variable 'count' before assignment https://github.com/home-assistant/core/blob/11ff00f6377325f3ad5a1f7abcaa6ce701fc3c93/homeassistant/components/yeelight/light.py#L742
- 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
- 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:
- 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:
- used-before-assignment: Using variable '_winreg' before assignment https://github.com/pygame/pygame/blob/c85b24c5ef8903b0b7c989c9351db9ceda4e2fa1/src_py/sysfont.py#L67
- 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:
- 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:
- possibly-used-before-assignment: Possibly using variable 'intervals' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/pitch.py#L584
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L105
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L106
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L107
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L108
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L175
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L176
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L177
- possibly-used-before-assignment: Possibly using variable 'other' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L178
- possibly-used-before-assignment: Possibly using variable 'bass' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L246
- possibly-used-before-assignment: Possibly using variable 'root' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L247
- possibly-used-before-assignment: Possibly using variable 'fifth' before assignment https://github.com/cuthbertLab/music21/blob/d33ca3c73ad3206b0fe4e239406217baab8fcf4e/music21/figuredBass/resolution.py#L248
- 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:
- 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
- possibly-used-before-assignment: Possibly using variable 'reprentry' before assignment https://github.com/pytest-dev/pytest/blob/b56b294f54268b45f611917e6d1fd577a2f848be/src/_pytest/reports.py#L573
- possibly-used-before-assignment: Possibly using variable 'cond' before assignment https://github.com/pytest-dev/pytest/blob/b56b294f54268b45f611917e6d1fd577a2f848be/src/_pytest/assertion/rewrite.py#L1007
- 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:
- used-before-assignment: Using variable 'silent' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/template/defaulttags.py#L662
- possibly-used-before-assignment: Possibly using variable 'content' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/core/management/commands/makemessages.py#L126
- possibly-used-before-assignment: Possibly using variable 'sid' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/transaction.py#L245
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/backends/sqlite3/creation.py#L43
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/backends/oracle/creation.py#L48
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/backends/oracle/creation.py#L174
- possibly-used-before-assignment: Possibly using variable 'confirm' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/backends/base/creation.py#L217
- 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
- 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
- used-before-assignment: Using variable 'rel_obj' before assignment https://github.com/django/django/blob/47c608202a58c8120d049c98d5d27c4609551d33/django/db/models/base.py#L542
- 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:
- possibly-used-before-assignment: Possibly using variable 'new_index' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/generic.py#L4107
- possibly-used-before-assignment: Possibly using variable 'arr_mask' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/missing.py#L125
- possibly-used-before-assignment: Possibly using variable 'idxpos' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/missing.py#L252
- 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
- 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
- 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
- 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
- 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
- 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
- used-before-assignment: Using variable 'result' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/arrays/arrow/array.py#L744
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- possibly-used-before-assignment: Possibly using variable 'freq' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/indexes/datetimelike.py#L275
- used-before-assignment: Using variable 'func' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/array_algos/take.py#L244
- possibly-used-before-assignment: Possibly using variable 'lidx' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/reshape/merge.py#L1797
- possibly-used-before-assignment: Possibly using variable 'ridx' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/reshape/merge.py#L1797
- 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
- possibly-used-before-assignment: Possibly using variable 'msg' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/computation/eval.py#L171
- possibly-used-before-assignment: Possibly using variable 'res' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/computation/pytables.py#L165
- possibly-used-before-assignment: Possibly using variable 'ne' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/computation/expressions.py#L64
- possibly-used-before-assignment: Possibly using variable 'concat' before assignment https://github.com/pandas-dev/pandas/blob/888b6bc1bb3fdf203dda64e50336db4eb9b1e778/pandas/core/groupby/groupby.py#L5052
- 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:
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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:
- possibly-used-before-assignment: Possibly using variable 'wait_c' before assignment https://github.com/psycopg/psycopg/blob/ae0a8bd351a53d5e5934e65a9c073c4ddc033cf9/psycopg/psycopg/waiting.py#L414
- possibly-used-before-assignment: Possibly using variable 'enc' before assignment https://github.com/psycopg/psycopg/blob/ae0a8bd351a53d5e5934e65a9c073c4ddc033cf9/psycopg/psycopg/connection_async.py#L366
- 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:
- possibly-used-before-assignment: Possibly using variable 'soft_key_lines' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/phystokens.py#L162
- possibly-used-before-assignment: Possibly using variable 'PYPYVERSION' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/env.py#L76
- possibly-used-before-assignment: Possibly using variable 'YIELD_VALUE' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L263
- possibly-used-before-assignment: Possibly using variable 'YIELD_FROM_OFFSET' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L265
- possibly-used-before-assignment: Possibly using variable 'YIELD_FROM' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/pytracer.py#L267
- possibly-used-before-assignment: Possibly using variable 'missing_branch_arcs' before assignment https://github.com/nedbat/coveragepy/blob/d9156677a9450e1d613ffa25c87d6b063c28e62e/coverage/html.py#L143
- 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
Should this be enabled by default?
Perhaps first as an extension and then after 1 or 2 minor version by default?
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)
Let's go with option 2 then!