---
source: crates/ruff_linter/src/noqa.rs
expression: "Directive::try_extract(source, TextSize::default())"
snapshot_kind: text
---
Ok(
    Some(
        Codes(
            Codes {
                range: 0..12,
                codes: [
                    Code {
                        code: "F401",
                        range: 8..12,
                    },
                ],
            },
        ),
    ),
)
