Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Feb 28, 2023

When run with --export-ref-info, store line-level reference information in the cache, in a JSON file with a .refs.json extension. It includes the line numbers and targets of each RefExpr in the program. This only works properly if incremental mode is disabled.

The target can either be a fullname, or *.name for an name attribute reference where the type of the object is unknown.

This is an undocumented, experimental feature that may be useful for certain tools, but it shouldn't be used in production use cases.

When run with `--export-ref-info`, store line-level reference information
in the cache, in a JSON file with a `.refs.json` extension. It includes the
line numbers and targets of each RefExpr in the program. This only works
properly if incremental mode is disabled.

The target can either be a fullname, or "*.<attr>" for
an attribute reference where the type of the object is unknown.

This is an undocumented, experimental feature that may be useful for
certain tools, but it shouldn't be used in production use cases.
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JukkaL JukkaL merged commit de26134 into master Feb 28, 2023
@JukkaL JukkaL deleted the line-level-deps branch February 28, 2023 18:34
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.

3 participants