You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PLR0912(too-many-branches) does not count branches inside with: blocks. With pylint the following is detected, while ruff does not detect this rule violation
Resolves#11313
## Summary
PLR0912(too-many-branches) did not count branches inside with: blocks.
With this fix, the branches inside with statements are also counted.
## Test Plan
Added a new test case.
PLR0912(too-many-branches) does not count branches inside
with:
blocks. With pylint the following is detected, while ruff does not detect this rule violationRuff version: 0.4.3
command:
ruff check test.py --select PLR0912 --isolated
The text was updated successfully, but these errors were encountered: