[pytest]

filterwarnings =
    # This means: treat every warning as error, except for warnings that match .* (aka all warnings), ignore those.
    # This triggers the SyntaxError described in https://github.com/ray-project/ray/pull/31523 but keeps the status quo
    # warning behavior until https://github.com/ray-project/ray/pull/31219 .
    error

    # The format is `action:message_regex:category:module:line`.
    ignore:.*:

# Default to 5 min timeout for all individual pytest.
timeout = 300