-
Notifications
You must be signed in to change notification settings - Fork 98
Py rattler build refactor #1966
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
Py rattler build refactor #1966
Conversation
4486951 to
47f3017
Compare
| # For type checking, use Any as placeholder since we don't have stubs | ||
| _Stage1Recipe = Any | ||
| _Stage1Package = Any | ||
| _Stage1Build = Any | ||
| _Stage1Requirements = Any | ||
| _Stage1About = Any | ||
| _Stage1Source = Any | ||
| _Stage1StagingCache = Any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would this be necessary?
| self._inner = inner | ||
|
|
||
| @property | ||
| def homepage(self) -> Optional[str]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remember to use ruff here to migrate all use cases of Optional[str] to the newer str | None syntax
| } | ||
|
|
||
| /// Get the compression level | ||
| #[getter] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am curious about the heavy use of implicit getters and setters in this API.
My impression is that it's more common to use PyPackagingSettings.set_compression_level(..) instead of PyPackagingSettings.compression_level = .., especially if there's logic happening behind the scenes
No description provided.