Skip to content

python-dump-source-analysis


pants python-dump-source-analysis [args]

Dump source analysis for python_source targets.

Backend: pants.backend.experimental.python
Config section: [python-dump-source-analysis]

Basic options

analysis_flavor

--python-dump-source-analysis-analysis-flavor=<AnalysisFlavor>

PANTS_PYTHON_DUMP_SOURCE_ANALYSIS_ANALYSIS_FLAVOR

one of: raw_dependency_inference, dependency_inference

default: dependency_inference

The type of information that should be returned.

dependency_inference: The results of dependency inference, for every detected import in every file.

raw_dependency_inference: The raw intermediate results of the dependency inference process,
at every stage they're available. Potentially useful for debugging the dependency inference process.

Advanced options

None

Deprecated options

None