Skip to main content

gate_python_workspace

Function gate_python_workspace 

Source
pub fn gate_python_workspace(
    workspace: &Path,
    surface: &BTreeSet<String>,
) -> Result<GateReport>
Expand description

Gate every .py file under workspace against surface with the default (Exact) strictness. Files are returned in sorted (deterministic) path order; paths are relative to workspace.

ยงErrors

Propagates I/O errors from reading the workspace tree.