mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 20:09:22 +00:00
Move required import parsing out of lint rule (#12536)
## Summary Instead, make it part of the serialization and deserialization itself. This makes it _much_ easier to reuse when solving https://github.com/astral-sh/ruff/issues/12458.
This commit is contained in:
parent
7ad4df9e9f
commit
d930052de8
18 changed files with 330 additions and 276 deletions
|
@ -4,6 +4,7 @@ mod branches;
|
|||
mod context;
|
||||
mod definition;
|
||||
mod globals;
|
||||
mod imports;
|
||||
mod model;
|
||||
mod nodes;
|
||||
mod reference;
|
||||
|
@ -15,6 +16,7 @@ pub use branches::*;
|
|||
pub use context::*;
|
||||
pub use definition::*;
|
||||
pub use globals::*;
|
||||
pub use imports::*;
|
||||
pub use model::*;
|
||||
pub use nodes::*;
|
||||
pub use reference::*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue