curl/tests/http/testenv
Dan Fandrich 4c1b6f5494 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
2026-04-08 10:28:05 -07:00
..
mod_curltest mod_curltest: fix allocation size 2026-03-19 12:02:10 +01:00
__init__.py pytest: add tests using sshd 2025-12-12 11:58:57 +01:00
caddy.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
certs.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
client.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
curl.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
dante.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
env.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
httpd.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
nghttpx.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
ports.py pytest: bind to localhost 2025-09-10 00:55:07 +02:00
sshd.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
vsftpd.py tests: enable more ruff checks 2026-04-08 10:28:05 -07:00
ws_echo_server.py tests: change Python code style to pass ruff checks 2024-10-04 14:02:05 -07:00