Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #263923

Category None
Changed by Dan Fandrich <danohnoyoudont@coneharvesters.com>
Changed at Tue 07 Apr 2026 17:26:55
Repository https://api.github.com/repos/curl/curl
Project curl/curl
Branch dfandrich/pywarn
Revision 1e0c297cbc41c5ff88c23640e2959a75cfd1e3d2

Comments

tests: enable more ruff checks

- Checks for missing explicit `return` statements at the end of functions
that can return non-`None` values.
- Checks for classes that inherit from `object`.
- Checks for useless expressions.
- Within an `except*` clause, raise exceptions with `raise ... from err`
or `raise ... from None` to distinguish them from errors in exception
handling
- Checks for variable assignments that immediately precede a `return` of the
assigned variable.
- Checks for `else` statements with a `return` statement in the preceding
`if` block.
- Checks for unnecessary parentheses on raised exceptions.

Closes: #21258

Changed files