qutebrowser/tests/unit/browser/webkit
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
..
http Move webkit.http to webkit.httpheaders 2024-04-09 08:09:31 +12:00
network Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
test_cache.py reuse: Replace last copyright texts 2023-07-23 12:59:11 +02:00
test_certificateerror.py tests: Avoid accessing Qt statics at import time 2024-03-25 23:05:16 +01:00
test_cookies.py Fix tests after year 2036 2024-06-14 12:08:51 +02:00
test_mhtml.py reuse: Replace last copyright texts 2023-07-23 12:59:11 +02:00
test_tabhistory.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
test_webkit_view.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
test_webkitelem.py style: Use dict.fromkeys() 2024-07-01 16:43:09 +02:00
test_webkitsettings.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00