ruff/crates/ruff_linter
yt2b 22f237fec6
[flake8-bugbear] Avoid false positive for usage after continue (B031) (#10539)
## Summary

Closes #10337.

I've fixed the code to count usage of variable.
Usage count inside the block is reset when there is a following
statement.
- continue
- break
- return 

## Test Plan

Add test case.
2024-03-25 00:38:30 +00:00
..
resources [flake8-bugbear] Avoid false positive for usage after continue (B031) (#10539) 2024-03-25 00:38:30 +00:00
src [flake8-bugbear] Avoid false positive for usage after continue (B031) (#10539) 2024-03-25 00:38:30 +00:00
__init__.py [pylint] (Re-)Implement import-private-name (C2701) (#9553) 2024-01-16 14:03:11 -05:00
Cargo.toml Bump version to v0.3.4 (#10515) 2024-03-21 18:08:21 +00:00