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

Merge Partial Resolve 18 Support #43

Open
wants to merge 55 commits into
base: main
Choose a base branch
from
Open

Merge Partial Resolve 18 Support #43

wants to merge 55 commits into from

Conversation

in03
Copy link
Collaborator

@in03 in03 commented Jan 25, 2025

Following an ongoing discussion on issue #42, we've decided to merge existing partial Resolve 18 support from the resolve_18 branch and tentatively pursue coverage of Resolve 19.

in03 added 30 commits October 13, 2022 11:43
This reverts commit eb52d8a.
Doesn't seem to have any effect. Will leave it for now.
These opinionated bugbear rules are not implemented in Ruff yet:
- B950 (line too long), using equivalent: E501.
- B902 (invalid first arg for method), using equivalent: N804, N805
See: astral-sh/ruff#2954

These pycodestyle rules are not implemented in Ruff yet and have no
equivalent rules:
- E303 (too many blank lines),
- E302 (Expected 2 blank lines, found 0)
- E301 (Expected 1 blank line, found 0)
Previously ignored for "pydavinci/wrappers/settings/components.py".
Since they don't exist, we don't need to ignore them, but this will apply
package wide. Black should handle formatting these correctly anyway.
Black already handles trailing whitespace and newlines at EOF.
- Format changes with Black
- Upgrade syntax with PyUpgrade
- TYPE_CHECKING block checks with Ruff TCH
- Add missing type annotations per MyPy errors
Before now API support for galleries was incomplete. Most of the
return values were the wrong types, etc. (my bad)

I changed some things too. Getting and setting the name from the Gallery
object instead of as a property of the GalleryStillAlbum seemed obtuse.
So I took inspiration from the MarkerCollection object and added the
parent object into all the function calls for GalleryStillAlbum.

I did a similar thing with gallery stills to more easily get and set
their labels.

See TODO comments for more info.

These changes are untested. Further changes are likely required.
@in03 in03 self-assigned this Jan 25, 2025
@in03 in03 marked this pull request as ready for review January 25, 2025 11:28
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