Skip to content

Conversation

@nguu0123
Copy link
Contributor

Summary

When running the ty_benchmark, I found out that the Ty Tool name is None when no ty_path is given as str(None)='None'
image

Test Plan

Minor fix, tested local
image

@nguu0123 nguu0123 changed the title [ty] Fix tool name is None when no ty path is given ty_benchmark [ty] Fix tool name is None when no ty path is given in ty_benchmark Aug 11, 2025
@carljm
Copy link
Contributor

carljm commented Aug 11, 2025

Thank you!

@carljm carljm enabled auto-merge (squash) August 11, 2025 21:24
@carljm carljm merged commit e72f10b into astral-sh:main Aug 11, 2025
34 checks passed
@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

dcreager added a commit that referenced this pull request Aug 12, 2025
* main:
  Don't cache files with diagnostics (#19869)
  [ty] support recursive type aliases (#19805)
  [ty] Remove unsafe `salsa::Update` implementations in `tuple.rs` (#19880)
  [ty] Function argument inlay hints (#19269)
  [ty] Remove Salsa interning for `TypedDictType` (#19879)
  Fix `lint.future-annotations` link (#19876)
  [ty] Reduce memory usage of `TupleSpec` and `TupleType` (#19872)
  [ty] Track heap usage of salsa structs (#19790)
  Update salsa to pull in tracked struct changes (#19843)
  [ty] simplify CycleDetector::visit signature (#19873)
  [ty] use interior mutability in type visitors (#19871)
  [ty] Fix tool name is None when no ty path is given in ty_benchmark (#19870)
  [ty] Remove `Type::Tuple` (#19669)
  [ty] Short circuit `ReachabilityConstraints::analyze_single` for dynamic types (#19867)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants