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 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:
- Returns:
Either an empty list (no updates needed) or a list with a single element (an update needed).
- Return type:
- Raises:
UncommittedChangesError – Raised if the repository being analyzed has uncommitted changes and therefore cannot be checked for updates.
subprocess.CalledProcessError – Raised if running
make update-deps
failed.