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. |
||
|---|---|---|
| .. | ||
| http | ||
| network | ||
| test_cache.py | ||
| test_certificateerror.py | ||
| test_cookies.py | ||
| test_mhtml.py | ||
| test_tabhistory.py | ||
| test_webkit_view.py | ||
| test_webkitelem.py | ||
| test_webkitsettings.py | ||