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

Change #264008

Category curl
Changed by Dan Fandrich <danohnoyoudont@coneharvesters.com>
Changed at Wed 08 Apr 2026 19:28:05
Repository https://github.com/curl/curl.git
Project curl
Branch master
Revision 4c1b6f549404826a75cfb3326cc0352cdc93b27e

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