BaseScanner#

class neophile.scanner.base.BaseScanner#

Bases: ABC

Base class for dependency scanners.

Attributes Summary

name

Name of the scanner type.

Methods Summary

scan(root)

Scan a source tree for dependencies.

Attributes Documentation

name#

Name of the scanner type.

Methods Documentation

abstract scan(root)#

Scan a source tree for dependencies.

Parameters:

root (Path) – Root of the source tree.

Returns:

A list of all discovered dependencies.

Return type:

list of Dependency