Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Bump astroid to 3.2.3 #9786

Merged
merged 2 commits into from
Jul 11, 2024
Merged

Bump astroid to 3.2.3 #9786

merged 2 commits into from
Jul 11, 2024

Conversation

jacobtylerwalls
Copy link
Member

No description provided.

Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.81%. Comparing base (e81ab7b) to head (ec381ea).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9786   +/-   ##
=======================================
  Coverage   95.81%   95.81%           
=======================================
  Files         174      174           
  Lines       18870    18870           
=======================================
  Hits        18080    18080           
  Misses        790      790           

This comment has been minimized.

Copy link
Contributor

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

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

  1. no-member:
    Instance of 'BaseZhaFlow' has no 'async_add_executor_job' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L162
  2. no-member:
    Instance of 'BaseZhaFlow' has no 'async_add_executor_job' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L413
  3. no-member:
    Instance of 'ZhaConfigFlowHandler' has no 'config_entries' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L596
  4. no-member:
    Instance of 'ZhaConfigFlowHandler' has no 'config_entries' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L598
  5. no-member:
    Instance of 'ZhaOptionsFlowHandler' has no 'config_entries' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L698
  6. no-member:
    Instance of 'ZhaOptionsFlowHandler' has no 'async_add_executor_job' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L749
  7. no-member:
    Instance of 'ZhaOptionsFlowHandler' has no 'config_entries' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L754
  8. no-member:
    Instance of 'ZhaOptionsFlowHandler' has no 'config_entries' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L764
  9. no-member:
    Instance of 'ZhaOptionsFlowHandler' has no 'async_create_task' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L777
  10. no-member:
    Instance of 'ZhaOptionsFlowHandler' has no 'config_entries' member
    https://github.com/home-assistant/core/blob/c40a9ac4b5e5a6ae4bbccb203d5d635383abd350/homeassistant/components/zha/config_flow.py#L778

Effect on music21:
The following messages are now emitted:

  1. attribute-defined-outside-init:
    Attribute 'color' defined outside init
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/note.py#L2098
  2. no-member:
    Instance of 'Derivation' has no 'derivation' member
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/derivation.py#L246
  3. attribute-defined-outside-init:
    Attribute 'color' defined outside init
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/chord/__init__.py#L4197
  4. no-member:
    Instance of 'Note' has no 'brailleEnglish' member
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/braille/basic.py#L192
  5. no-member:
    Instance of 'Note' has no 'brailleEnglish' member
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/braille/basic.py#L534
  6. too-many-instance-attributes:
    Too many instance attributes (22/20)
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/stream/base.py#L104
  7. attribute-defined-outside-init:
    Attribute 'method' defined outside init
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/stream/base.py#L7987

The following messages are no longer emitted:

  1. too-many-instance-attributes:
    Too many instance attributes (21/20)
    https://github.com/cuthbertLab/music21/blob/204e9d0b9eec2f2d6ff8d8d3b13c41f912050604/music21/stream/base.py#L104

Effect on django:
The following messages are now emitted:

  1. too-many-instance-attributes:
    Too many instance attributes (26/7)
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L274
  2. not-callable:
    self.select_for_update is not callable
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L967
  3. method-hidden:
    An attribute defined in django.db.models.query line 1163 hides this method
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1540
  4. method-hidden:
    An attribute defined in django.db.models.query line 1164 hides this method
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1556
  5. attribute-defined-outside-init:
    Attribute 'combined_queries' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1507
  6. attribute-defined-outside-init:
    Attribute 'combinator' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1510
  7. attribute-defined-outside-init:
    Attribute 'combinator_all' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1511
  8. attribute-defined-outside-init:
    Attribute 'select_for_update_nowait' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1550
  9. attribute-defined-outside-init:
    Attribute 'select_for_update_skip_locked' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1551
  10. attribute-defined-outside-init:
    Attribute 'select_for_update_of' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1552
  11. attribute-defined-outside-init:
    Attribute 'select_for_no_key_update' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1553
  12. attribute-defined-outside-init:
    Attribute 'group_by' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1669
  13. attribute-defined-outside-init:
    Attribute 'standard_ordering' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1720
  14. attribute-defined-outside-init:
    Attribute 'filter_is_sticky' defined outside init
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L1884

The following messages are no longer emitted:

  1. too-many-instance-attributes:
    Too many instance attributes (14/7)
    https://github.com/django/django/blob/86e13843c2ab510fba1de84588efe7fd03555531/django/db/models/query.py#L274

This comment was generated for commit ec381ea

@jacobtylerwalls jacobtylerwalls merged commit b3f445b into main Jul 11, 2024
40 checks passed
@jacobtylerwalls jacobtylerwalls deleted the bump-astroid-patch branch July 11, 2024 19:46
Copy link
Contributor

The backport to maintenance/3.2.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-maintenance/3.2.x maintenance/3.2.x
# Navigate to the new working tree
cd .worktrees/backport-maintenance/3.2.x
# Create a new branch
git switch --create backport-9786-to-maintenance/3.2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 b3f445b6a16792dd8e871c43ec554e1ca1af72bb
# Push it to GitHub
git push --set-upstream origin backport-9786-to-maintenance/3.2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-maintenance/3.2.x

Then, create a pull request where the base branch is maintenance/3.2.x and the compare/head branch is backport-9786-to-maintenance/3.2.x.

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

Successfully merging this pull request may close these issues.

2 participants