File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
crates/ty_python_semantic/src/semantic_index Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 65
65
- black==25.1.0
66
66
67
67
- repo : https://github.com/crate-ci/typos
68
- rev : v1.31.1
68
+ rev : v1.32.0
69
69
hooks :
70
70
- id : typos
71
71
79
79
pass_filenames : false # This makes it a lot faster
80
80
81
81
- repo : https://github.com/astral-sh/ruff-pre-commit
82
- rev : v0.11.7
82
+ rev : v0.11.8
83
83
hooks :
84
84
- id : ruff-format
85
85
- id : ruff
Original file line number Diff line number Diff line change @@ -226,8 +226,8 @@ impl<'db> SemanticIndexBuilder<'db> {
226
226
227
227
fn push_scope ( & mut self , node : NodeWithScopeRef ) {
228
228
let parent = self . current_scope ( ) ;
229
- let reachabililty = self . current_use_def_map ( ) . reachability ;
230
- self . push_scope_with_parent ( node, Some ( parent) , reachabililty ) ;
229
+ let reachability = self . current_use_def_map ( ) . reachability ;
230
+ self . push_scope_with_parent ( node, Some ( parent) , reachability ) ;
231
231
}
232
232
233
233
fn push_scope_with_parent (
Original file line number Diff line number Diff line change @@ -644,7 +644,7 @@ pub(super) struct UseDefMapBuilder<'db> {
644
644
645
645
/// Tracks whether or not the scope start is visible at the current point in control flow.
646
646
/// This is subtly different from `scope_start_visibility`, as we apply these constraints
647
- /// at the beginnging of a branch. Visibility constraints, on the other hand, need to be
647
+ /// at the beginning of a branch. Visibility constraints, on the other hand, need to be
648
648
/// applied at the end of a branch, as we apply them retroactively to all live bindings:
649
649
/// ```py
650
650
/// y = 1
You can’t perform that action at this time.
0 commit comments