qutebrowser/tests
Florian Bruhin eb8121ffd5 Use Callable from collections.abc as well
Did run with ruff pretending to use Python 3.10,
because otherwise it won't reformat those:

    ruff check --select 'UP035' --fix --config 'target-version = "py310"' --unsafe-fixes

This is because collections.abc.Callable inside Optional[...] and Union[...] is
broken with Python 3.9.0 and 3.9.1:

https://github.com/asottile/pyupgrade/issues/677
https://github.com/astral-sh/ruff/issues/2690
https://github.com/python/cpython/issues/87131

However, pylint can detect problematic usages (of which we only have one),
so we might as well use the new thing everywhere possible for consistency.

Also see #7098
2024-10-15 11:54:53 +02:00
..
end2end Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
helpers Use Callable from collections.abc as well 2024-10-15 11:54:53 +02:00
manual Rename :buffer to :tab-select 2021-01-20 18:00:38 +01:00
unit Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
conftest.py Don't list each screenshot name in pytest report 2024-08-24 23:12:55 +12:00
test_conftest.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00