Skip to content

Commit

Permalink
Merge pull request #525 from Shopify/remove-deadcode-spoom-filetree-n…
Browse files Browse the repository at this point in the history
…odes_strictnesses

Remove dead method `nodes_strictnesses`
  • Loading branch information
Morriar committed Mar 11, 2024
2 parents 59d6960 + 9cf281a commit a8ea38b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/spoom/file_tree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ def paths
nodes.map(&:path)
end

# Return a map of strictnesses for each node in the tree
sig { params(context: Context).returns(T::Hash[Node, T.nilable(String)]) }
def nodes_strictnesses(context)
v = CollectStrictnesses.new(context)
v.visit_tree(self)
v.strictnesses
end

# Return a map of typing scores for each node in the tree
sig { params(context: Context).returns(T::Hash[Node, Float]) }
def nodes_strictness_scores(context)
Expand Down

0 comments on commit a8ea38b

Please sign in to comment.