Refactor distro.info() method to return an InfoDict#360
Refactor distro.info() method to return an InfoDict#360HorlogeSkynet merged 1 commit intopython-distro:masterfrom
distro.info() method to return an InfoDict#360Conversation
|
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.pyfile. The method now returns anInfoDictobject instead of a regular dictionary. This change improves the consistency and readability of the codebase. TheInfoDictobject contains the distribution ID, version, and version parts. The change does not affect the functionality of the method.