Skip to content

Commit

Permalink
Temporarily revert for benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Apr 18, 2024
1 parent 835052c commit eff605f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ruff_python_semantic/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -836,9 +836,9 @@ impl<'a> SemanticModel<'a> {
)
} else {
// Otherwise, if we're in (e.g.) a script, use the module name.
let name = self.module.name()?;
// let name = self.module.name()?;
Some(
std::iter::once(name)
std::iter::once("foo")
.chain(
UnqualifiedName::from_expr(value)?
.segments()
Expand Down

0 comments on commit eff605f

Please sign in to comment.