ruff/crates/ruff_python_stdlib
Charlie Marsh 3dc73395ea
Move Literal flag detection into recurse phase (#5768)
## Summary

The AST pass is broken up into three phases: pre-visit (which includes
analysis), recurse (visit all members), and post-visit (clean-up). We're
not supposed to edit semantic model flags in the pre-visit phase, but it
looks like we were for literal detection. This didn't matter in
practice, but I'm looking into some AST refactors for which this _does_
cause issues.

No behavior changes expected.

## Test Plan

Good test coverage on these.
2023-07-15 02:04:15 +00:00
..
src Move Literal flag detection into recurse phase (#5768) 2023-07-15 02:04:15 +00:00
Cargo.toml Remove HashMap and HashSet for known-standard-library detection (#5345) 2023-06-23 19:59:03 +00:00