PythonAnalyzer#

class neophile.analysis.python.PythonAnalyzer#

Bases: BaseAnalyzer

Analyze a tree for needed Python frozen dependency updates.

Parameters:
  • root – Root of the directory tree to analyze.

  • virtualenv – Virtual environment manager.

Attributes Summary

name

Name of the analyzer type.

Methods Summary

analyze(root, *[, update])

Analyze a tree and return needed Python frozen dependency updates.

Attributes Documentation

name#

Methods Documentation

async analyze(root, *, update=False)#

Analyze a tree and return needed Python frozen dependency updates.

Parameters:
  • root (Path) – Root of the path to analyze.

  • update (bool, default: False) – If set to True, leave the update applied. This avoids having to run make update-deps twice, once to see if an update is needed and again to apply it properly.

Returns:

Either an empty list (no updates needed) or a list with a single element (an update needed).

Return type:

list of Update

Raises: