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

Update graphics inspector section to use ObservedListModel to catch c… #1253

Closed
wants to merge 2 commits into from

Conversation

KRLango
Copy link
Contributor

@KRLango KRLango commented Nov 18, 2024

…hanges to the graphics list

#1210

@KRLango
Copy link
Contributor Author

KRLango commented Nov 21, 2024

I think #1219 should also be fixed by this

Copy link
Collaborator

@cmeyer cmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the missing super.__init__(), this looks good. Any reason it is still a draft?

I'm not sure why mypy doesn't catch the missing super.init... but see this issue.

Also, note that flake8 --ignore E501 nion/swift/Inspector.py does not catch this issue either.

However, pylint nion/swift/Inspector.py it shows up as "nion/swift/Inspector.py:3199:4: W0231: init method from base class 'Handler' is not called (super-init-not-called)". However it is mixed into 100's of other lint errors. Oh well.

nion/swift/Inspector.py Show resolved Hide resolved
Copy link
Contributor

@lisham2000 lisham2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good

@KRLango KRLango assigned Ion-e and unassigned Tiomat85 and lisham2000 Nov 22, 2024
@KRLango KRLango marked this pull request as ready for review November 22, 2024 14:08
@Ion-e Ion-e self-requested a review November 22, 2024 14:18
Copy link

@Ion-e Ion-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@cmeyer
Copy link
Collaborator

cmeyer commented Nov 22, 2024

Squashed/merged here 2d73324

@cmeyer cmeyer closed this Nov 22, 2024
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.

5 participants