Skip to main content
Version: 2.23 (prerelease)

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
pants.toml
[python-dump-source-analysis]
analysis_flavor = <AnalysisFlavor>
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