ruff
2072f3f8 - [`pylint`] Implement `too-many-try-statements` (`W0717`) (#23970)

Commit
73 days ago
[`pylint`] Implement `too-many-try-statements` (`W0717`) (#23970) ## Summary Close #23810 Opening as a draft mostly to signal that I'm getting this going. At the time of opening, and as far as I can tell, this *compiles* correctly locally, but it's missing tests and docs. I also have a question I would like to ask @ntBre at this early stage of the PR: it seemed to me that the logic from `too_many_statements::num_statements` could be entirely re-used, and I didn't want to duplicate it, so I moved it up the module tree to `ruff_linter::rules::pylint::helpers`. Is this the prefered approach, or is there a better way I should implement this code re-use ? ## Test Plan
Author
Parents
Loading