Skip to main content

is_python_source

Function is_python_source 

Source
pub fn is_python_source(path: &Path) -> bool
Expand description

Python source file. Kept distinct from is_scan_target because the docstring pass runs ast.parse, and adding a language must never widen that filter.