Skip to main content

gate_python_source

Function gate_python_source 

Source
pub fn gate_python_source(
    path: impl Into<PathBuf>,
    source: &str,
    surface: &BTreeSet<String>,
) -> FileVerdict
Expand description

Gate one Python source against the project surface with the default (Exact) strictness; the Python stdlib is always known.