BaseScanner¶
-
class
neophile.scanner.base.BaseScanner¶ Bases:
abc.ABCBase class for dependency scanners.
Methods Summary
name()The name of the scanner type. scan()Scan a source tree for dependencies. Methods Documentation
-
name() → str¶ The name of the scanner type.
Returns: name – A string representing the type of scanner this is. Used for reporting results accumulated from a bunch of scanners. Return type: str
-
scan() → Sequence[Dependency]¶ Scan a source tree for dependencies.
Returns: results – A list of all discovered dependencies. Return type: List[ neophile.dependency.base.Dependency]
-