[ty] Remove KnownModule::is_enum (#19681)

## Summary

Changes the visibility of `KnownModule` and removes an unneeded
function.
This commit is contained in:
David Peter 2025-08-01 10:31:12 +02:00 committed by GitHub
parent b30d97e5e0
commit d43e6fb9c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 20 additions and 22 deletions

View file

@ -7,8 +7,8 @@ use crate::suppression::{INVALID_IGNORE_COMMENT, UNKNOWN_RULE, UNUSED_IGNORE_COM
pub use db::Db;
pub use module_name::ModuleName;
pub use module_resolver::{
KnownModule, Module, SearchPathValidationError, SearchPaths, resolve_module,
resolve_real_module, system_module_search_paths,
Module, SearchPathValidationError, SearchPaths, resolve_module, resolve_real_module,
system_module_search_paths,
};
pub use program::{
Program, ProgramSettings, PythonVersionFileSource, PythonVersionSource,