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