qutebrowser/tests/unit
Florian Bruhin 97104b2000 Use builtin list/dict/set/... types for annotations
See https://peps.python.org/pep-0585/
and https://docs.python.org/3/whatsnew/3.9.html#type-hinting-generics-in-standard-collections

Done via:

    ruff check --select 'UP006' --fix --config 'target-version = "py39"' --unsafe-fixes

followed by removing unused imports:

    ruff check --select 'F401' --fix --config 'target-version = "py39"'

and a semi-manual review to find imports that are still needed (but ruff doesn't know about yet):

    git diff | grep '^-' | grep import | grep -v "from typing"

Also see #7098.
2024-10-15 11:54:49 +02:00
..
api reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
browser Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
commands Fix remaining references to old commands 2023-08-15 20:15:48 +02:00
completion Add test to ensure `set_model(None)` cleans up 2024-06-09 18:16:01 +12:00
components Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
config Update for new pylint/astroid releases 2024-05-24 21:46:04 +02:00
extensions Revert "walk_module workaround for PyInstaller" 2023-10-28 10:44:55 +13:00
javascript Use str.removeprefix() and str.removesuffix() 2024-10-13 18:24:44 +02:00
keyinput Use str.removeprefix() and str.removesuffix() 2024-10-13 18:24:44 +02:00
mainwindow reuse: Replace last copyright texts 2023-07-23 12:59:11 +02:00
misc Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
scripts Fix lint/tests 2023-07-23 14:10:10 +02:00
utils Remove all importlib_resources backport usage 2024-10-13 18:24:44 +02:00
test_app.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
test_qt_machinery.py Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
test_qutebrowser.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00