Skip to content

Fix invalid-annotation warnings reported by Pyrefly#3523

Merged
svartkanin merged 1 commit intoarchlinux:masterfrom
correctmost:cm/fix-invalid-annotations
May 28, 2025
Merged

Fix invalid-annotation warnings reported by Pyrefly#3523
svartkanin merged 1 commit intoarchlinux:masterfrom
correctmost:cm/fix-invalid-annotations

Conversation

@correctmost
Copy link
Copy Markdown
Contributor

PR Description:

This PR fixes the following warnings:

ERROR archinstall/archinstall/lib/models/device_model.py:893:9-16: Cannot annotate attribute `_obj_id`, which is already annotated in the class body [invalid-annotation]
ERROR archinstall/archinstall/lib/models/device_model.py:1160:9-16: Cannot annotate attribute `_obj_id`, which is already annotated in the class body [invalid-annotation]

@correctmost correctmost requested a review from Torxed as a code owner May 28, 2025 11:53
@svartkanin svartkanin merged commit 426650a into archlinux:master May 28, 2025
9 checks passed
@correctmost correctmost deleted the cm/fix-invalid-annotations branch May 28, 2025 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants