ruff/crates/ty_completion_eval/truth
Andrew Gallant 651f7963a7
[ty] Add some completion ranking improvements (#20807)
Co-authored-by: Micha Reiser <micha@reiser.io>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-10-15 08:59:33 +00:00
..
fstring-completions [ty] Add some completion ranking improvements (#20807) 2025-10-15 08:59:33 +00:00
higher-level-symbols-preferred
import-deprioritizes-dunder
import-deprioritizes-sunder
internal-typeshed-hidden
none-completion [ty] Add some completion ranking improvements (#20807) 2025-10-15 08:59:33 +00:00
numpy-array
object-attr-instance-methods
raise-uses-base-exception
scope-existing-over-new-import
scope-prioritize-closer
scope-simple-long-identifier
tstring-completions [ty] Add some completion ranking improvements (#20807) 2025-10-15 08:59:33 +00:00
ty-extensions-lower-stdlib
type-var-typing-over-ast
README.md

README.md

This directory contains truth data for ty's completion evaluation.

Adding new truth data

To add new truth data, you can either add a new <CURSOR> directive to an existing Python project in this directory or create a new Python project. To create a new directory, just cp -a existing new and modify it as needed. Then:

  1. Check completion.toml for relevant settings.
  2. Run uv.lock after updating pyproject.toml (if necessary) to ensure the dependency versions are locked.