mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 10:22:24 +00:00
Fix diagnostics
variable name in add_plugin.py
script (#5317)
## Summary Fix a variable name in the `add_plugin.py` script. ## Test Plan I don't think there are any tests for the scripts, other than manual confirmation
This commit is contained in:
parent
8bc7378002
commit
e0e1d13d9f
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ mod tests {
|
|||
|
||||
fn rules(rule_code: Rule, path: &Path) -> Result<()> {
|
||||
let snapshot = format!("{}_{}", rule_code.as_ref(), path.to_string_lossy());
|
||||
let messages = test_path(
|
||||
let diagnostics = test_path(
|
||||
Path::new("%s").join(path).as_path(),
|
||||
&settings::Settings::for_rule(rule_code),
|
||||
)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue