Ignore certain flake8-pyi errors within function bodies (#4029)

This commit is contained in:
Charlie Marsh 2023-04-19 15:10:29 -04:00 committed by GitHub
parent 827cbe7f97
commit 10d5415bcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 46 additions and 14 deletions

View file

@ -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>),