mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 13:51:16 +00:00
[ty] Tell the user why we inferred a certain Python version when reporting version-specific syntax errors (#18295)
This commit is contained in:
parent
0a11baf29c
commit
6453ac9ea1
9 changed files with 201 additions and 107 deletions
|
@ -14,6 +14,7 @@ pub use program::{
|
|||
pub use python_platform::PythonPlatform;
|
||||
pub use semantic_model::{HasType, SemanticModel};
|
||||
pub use site_packages::SysPrefixPathOrigin;
|
||||
pub use util::diagnostics::add_inferred_python_version_hint_to_diagnostic;
|
||||
|
||||
pub mod ast_node_ref;
|
||||
mod db;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue