mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:24:57 +00:00
file_level -> hide_snippet
This commit is contained in:
parent
0668704fcc
commit
519b6fa850
6 changed files with 23 additions and 22 deletions
|
@ -155,7 +155,7 @@ impl<'a> Annotation<'a> {
|
|||
self
|
||||
}
|
||||
|
||||
pub fn is_file_level(mut self, yes: bool) -> Self {
|
||||
pub fn hide_snippet(mut self, yes: bool) -> Self {
|
||||
self.is_file_level = yes;
|
||||
self
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue