mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-10-31 03:55:09 +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
				
			
		|  | @ -1,7 +1,7 @@ | |||
| use ruff_db::files::File; | ||||
| 
 | ||||
| use crate::dunder_all::dunder_all_names; | ||||
| use crate::module_resolver::file_to_module; | ||||
| use crate::module_resolver::{KnownModule, file_to_module}; | ||||
| use crate::semantic_index::definition::{Definition, DefinitionState}; | ||||
| use crate::semantic_index::place::{PlaceExprRef, ScopedPlaceId}; | ||||
| use crate::semantic_index::scope::ScopeId; | ||||
|  | @ -13,7 +13,7 @@ use crate::types::{ | |||
|     DynamicType, KnownClass, Truthiness, Type, TypeAndQualifiers, TypeQualifiers, UnionBuilder, | ||||
|     UnionType, binding_type, declaration_type, todo_type, | ||||
| }; | ||||
| use crate::{Db, FxOrderSet, KnownModule, Program, resolve_module}; | ||||
| use crate::{Db, FxOrderSet, Program, resolve_module}; | ||||
| 
 | ||||
| pub(crate) use implicit_globals::{ | ||||
|     module_type_implicit_global_declaration, module_type_implicit_global_symbol, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Peter
						David Peter