diff --git a/scripts/add_rule.py b/scripts/add_rule.py index 1fb271aa85..3e4c105822 100755 --- a/scripts/add_rule.py +++ b/scripts/add_rule.py @@ -98,6 +98,17 @@ use ruff_macros::{{derive_message_formats, violation}}; use crate::checkers::ast::Checker; +/// ## What it does +/// +/// ## Why is this bad? +/// +/// ## Example +/// ```python +/// ``` +/// +/// Use instead: +/// ```python +/// ``` #[violation] pub struct {name};