-
Notifications
You must be signed in to change notification settings - Fork 67
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
Refactor distro.info()
method to return an InfoDict
#360
Conversation
This commit improves pylint from: ************* Module distro.distro Your code has been rated at 9.21/10 To: ************* Module distro.distro Your code has been rated at 9.24/10 |
This commit modifies the `distro.info()` method in the `distro.py` file. The method now returns an `InfoDict` object instead of a regular dictionary. This change improves the consistency and readability of the codebase. The `InfoDict` object contains the distribution ID, version, and version parts. The change does not affect the functionality of the method.
This commit modifies the
distro.info()
method in thedistro.py
file. The method now returns anInfoDict
object instead of a regular dictionary. This change improves the consistency and readability of the codebase. TheInfoDict
object contains the distribution ID, version, and version parts. The change does not affect the functionality of the method.