qutebrowser/scripts/dev
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
..
ci ci: Fix pip/python usage for QtWebKit 2024-06-29 21:59:43 +02:00
pylint_checkers Use str.removeprefix() and str.removesuffix() 2024-10-13 18:24:44 +02:00
Makefile-dmg build-release: Increase macOS template size once again 2022-08-23 18:31:42 +02:00
__init__.py Remove vim modelines 2023-06-30 11:03:06 +02:00
build_pyqt_wheel.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
build_release.py Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
change_release.py reuse: Fix more copyright headers 2023-07-23 12:56:13 +02:00
changelog_urls.json Merge pull request #8243 from feat/e2e_screenshots 2024-10-05 11:30:57 +13:00
check_coverage.py Use str.removeprefix() and str.removesuffix() 2024-10-13 18:24:44 +02:00
check_doc_changes.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
cleanup.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
enums.txt Add rewrite_enums.py 2022-08-23 18:09:11 +02:00
gen_versioninfo.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
get_coredumpctl_traces.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
misc_checks.py Use builtin list/dict/set/... types for annotations 2024-10-15 11:54:49 +02:00
quit_segfault_test.sh Rename :later to :cmd-later 2023-08-11 09:02:01 +02:00
recompile_requirements.py Use str.removeprefix() and str.removesuffix() 2024-10-13 18:24:44 +02:00
rewrite_enums.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
rewrite_find_enums.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
rewrite_find_flags.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
rewrite_qt_imports.sh Add basic qt wrapper stuff 2022-08-23 18:09:11 +02:00
run_profile.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
run_pylint_on_tests.py reuse: Add linting for old license comments 2023-07-23 13:53:31 +02:00
run_shellcheck.sh reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
run_vulture.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
src2asciidoc.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
standardpaths_tester.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00
strip_whitespace.sh Name strip_whitespace.sh correctly 2016-05-18 06:54:14 +02:00
ua_fetch.py scripts: Update data link for ua_fetch.py 2024-06-04 22:27:59 +02:00
update_3rdparty.py Use str.removeprefix() and str.removesuffix() 2024-10-13 18:24:44 +02:00
update_version.py Update releasing docs 2023-08-17 14:47:49 +02:00