mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 13:51:16 +00:00
[ty] Remove KnownModule::is_enum
(#19681)
## Summary Changes the visibility of `KnownModule` and removes an unneeded function.
This commit is contained in:
parent
b30d97e5e0
commit
d43e6fb9c6
8 changed files with 20 additions and 22 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue