mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 11:59:35 +00:00
parent
90bfc4ec4d
commit
d3155560df
1 changed files with 4 additions and 1 deletions
|
@ -382,7 +382,10 @@ other-attribute = 1
|
||||||
"longMessage".to_string(),
|
"longMessage".to_string(),
|
||||||
"maxDiff".to_string(),
|
"maxDiff".to_string(),
|
||||||
]),
|
]),
|
||||||
classmethod_decorators: Some(vec!["classmethod".to_string()]),
|
classmethod_decorators: Some(vec![
|
||||||
|
"classmethod".to_string(),
|
||||||
|
"pydantic.validator".to_string()
|
||||||
|
]),
|
||||||
staticmethod_decorators: Some(vec!["staticmethod".to_string()]),
|
staticmethod_decorators: Some(vec!["staticmethod".to_string()]),
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue