[red-knot] Move, rename and make public the PyVersion type (#12782)

This commit is contained in:
Alex Waygood 2024-08-09 16:49:17 +01:00 committed by GitHub
parent b595346213
commit c4e651921b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 167 additions and 128 deletions

View file

@ -5,7 +5,8 @@ use rustc_hash::FxHasher;
pub use db::Db;
pub use module_name::ModuleName;
pub use module_resolver::{resolve_module, system_module_search_paths, vendored_typeshed_stubs};
pub use program::{Program, ProgramSettings, SearchPathSettings, TargetVersion};
pub use program::{Program, ProgramSettings, SearchPathSettings};
pub use python_version::{PythonVersion, TargetVersion, UnsupportedPythonVersion};
pub use semantic_model::{HasTy, SemanticModel};
pub mod ast_node_ref;
@ -15,6 +16,7 @@ mod module_name;
mod module_resolver;
mod node_key;
mod program;
mod python_version;
pub mod semantic_index;
mod semantic_model;
pub mod types;