Conditions | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | from coala_decorators.decorators import generate_repr |
||
20 | def __init__(self, manager: str, package: str, version=""): |
||
21 | """ |
||
22 | Constructs a new PackageRequirement. |
||
23 | |||
24 | :param manager: A string with the name of the manager (pip, npm, etc). |
||
25 | :param package: A string with the name of the package to be installed. |
||
26 | :param version: A number that contains the version. Leave empty to |
||
27 | install the latest. |
||
28 | """ |
||
29 | self.manager = manager |
||
30 | self.package = package |
||
31 | self.version = version |
||
32 | |||
40 |