Skip to content

Commit 8ad0159

Browse files
committed
minor fixup: type annotation required
1 parent c9a3cbe commit 8ad0159

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/annotation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ impl PyAnnotation {
503503
config.skip_context = v.extract()?;
504504
}
505505
if let Ok(Some(v)) = kwargs.get_item("no_auto_context") {
506-
let no_auto_context = v.extract()?;
506+
let no_auto_context: bool = v.extract()?;
507507
auto_context = !no_auto_context;
508508
}
509509
if let Ok(Some(v)) = kwargs.get_item("context_namespaces") {

0 commit comments

Comments
 (0)