pub struct Verify {
pub mypy_cmd: Option<Vec<String>>,
pub pyright_cmd: Option<Vec<String>>,
}Expand description
Verification configuration for optional type checking.
Specifies commands to run for validating generated code quality, typically mypy and/or pyright type checkers.
Fields§
§mypy_cmd: Option<Vec<String>>Command to run mypy type checking. If None, mypy verification is skipped. Example: [“mypy”, “–strict”, “generated”]
pyright_cmd: Option<Vec<String>>Command to run pyright type checking. If None, pyright verification is skipped. Example: [“pyright”, “generated/**/*.pyi”]
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Verify
impl RefUnwindSafe for Verify
impl Send for Verify
impl Sync for Verify
impl Unpin for Verify
impl UnwindSafe for Verify
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more