mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-12 06:38:44 +00:00
Ignore certain flake8-pyi errors within function bodies (#4029)
This commit is contained in:
parent
827cbe7f97
commit
10d5415bcb
7 changed files with 46 additions and 14 deletions
|
@ -131,7 +131,7 @@ impl From<ScopeId> for usize {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, is_macro::Is)]
|
||||
pub enum ScopeKind<'a> {
|
||||
Class(ClassDef<'a>),
|
||||
Function(FunctionDef<'a>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue