Commit Graph

24434 Commits

Author SHA1 Message Date
qutebrowser bot 4e0180cede Update dependencies 2023-07-20 10:57:42 +00:00
Florian Bruhin 09f28f24c6 Fix lint 2023-07-20 12:42:29 +02:00
Florian Bruhin 5cfab728b2 Improve handling of Optional with new PyQt stubs 2023-07-19 17:27:55 +02:00
Florian Bruhin 92dea988c0 Initial upgrade to new PyQt6 stubs 2023-07-19 17:08:24 +02:00
Florian Bruhin 3b04cb1d99 mypy: Remvoe some more type ignores
Fixed in latest PyQt snapshots
2023-07-13 09:27:19 +02:00
Florian Bruhin 9646f53fb5
Merge pull request #7764 from pylbrecht:search-vanished
Don't show warning when jumping to next/prev search result without matches
2023-07-10 16:38:36 +02:00
Florian Bruhin 72aee69c9f Fix lint after dropping PyQt6-stubs 2023-07-10 10:14:03 +02:00
Florian Bruhin 9fcba3d61b Update changelog URLs 2023-07-10 10:07:36 +02:00
Florian Bruhin 6d1dcc30ad Merge remote-tracking branch 'origin/update-dependencies' 2023-07-10 10:04:14 +02:00
qutebrowser bot 93fb20e67e Update dependencies 2023-07-10 04:23:00 +00:00
Florian Bruhin 5a9027c54e mypy: Switch to upstream stubs for PyQt6
They are getting much better
2023-07-09 01:02:33 +02:00
Florian Bruhin 8da62bcbf4 Add aria-haspopup to hint selectors
Helps on https://www.keepersecurity.com/ - see https://www.reddit.com/r/qutebrowser/comments/14qtlc8/no_hint_on_drop_down_list/
2023-07-05 22:37:56 +02:00
Florian Bruhin d2c1195924
Merge pull request #7766 from arza-zara/tox
tox: Fix vulture-pyqtlink environment
2023-07-05 15:13:59 +02:00
arza 312b7878fa tox: Fix vulture-pyqtlink environment 2023-07-05 14:52:17 +03:00
Philipp Albrecht 45f6cf01c3 Don't show warning when jumping to next/prev without matches 2023-07-05 11:16:55 +02:00
Florian Bruhin ee2c8c649c ci: Keep WebKit on life support for longer 2023-07-03 17:40:37 +02:00
toofar c25f63e6e8
Merge pull request #7763 from qutebrowser/update-dependencies
Update dependencies
2023-07-03 21:35:12 +12:00
toofar 9f9dfe7509 Add exceptiongroup changelog
Ref #7763
2023-07-03 20:44:52 +12:00
qutebrowser bot 9d89e16e19 Update dependencies 2023-07-03 04:24:46 +00:00
Florian Bruhin 73b51d274f Remove new modeline 2023-06-30 19:29:21 +02:00
Florian Bruhin 0e242f7466 typing updates after Python 3.7 drop 2023-06-30 16:05:02 +02:00
Florian Bruhin 8dd5ba0abe Fix test_qtargs on Qt 5 2023-06-30 15:59:08 +02:00
Florian Bruhin 8e024ee654
Merge pull request #7761 from pylbrecht/remove-vim-modelines
Remove vim modelines in favor of .editorconfig
2023-06-30 15:51:19 +02:00
Florian Bruhin 45de31374d Enable replaceAll quirk by default
See #7639
2023-06-30 15:35:51 +02:00
Florian Bruhin 693b25efd2 Add experimental_web_platform_features setting
Closes #7639
2023-06-30 15:32:46 +02:00
Florian Bruhin 7b63036178 Revert "Fix bad keyutils merge"
This reverts commit 127a4bf756.
2023-06-30 14:39:14 +02:00
Florian Bruhin a3ec252d09 Remove --enable-webengine-inspector
Fixes #7134
2023-06-30 14:16:20 +02:00
Florian Bruhin 127a4bf756 Fix bad keyutils merge 2023-06-30 14:13:18 +02:00
Florian Bruhin 735270a6d2 Also move Pyright / VS Code to Qt 6
See #7370
2023-06-30 14:07:40 +02:00
Florian Bruhin 4cf2eea580 qt6 mypy: Fix lint 2023-06-30 11:59:45 +02:00
Philipp Albrecht 6f727664a9 Add misc check to prevent vim modelines
We deprecated vim modelines. The introduced misc check will keep old pull requests from
re-introducing vim modelines.
2023-06-30 11:03:19 +02:00
Philipp Albrecht d9e8b638bf Remove vim modelines
We're deprecating vim modelines in favor of `.editorconfig`.

Removing vim modelines could be done using two one-liners. Most of the vim modelines
were followed by an empty line, so this one-liner took care of these ones:

```sh
rg '^# vim: .+\n\n' -l | xargs sed -i '/^# vim: /,+1d'
```

Then some of the vim modelines were followed by a pylint configuration line, so running
this one-liner afterwards took care of that:

```sh
rg '^# vim:' -l | xargs sed -i '/^# vim: /d'
```
2023-06-30 11:03:06 +02:00
Philipp Albrecht 4a31c537c2 Remove vim modeline hint from contributing docs
We're deprecating vim modelines in favor of `.editorconfig`.
2023-06-30 10:59:23 +02:00
Philipp Albrecht 08ea751fe1 Remove modeline pylint checker
We're deprecating vim modelines in favor of `.editorconfig`.
2023-06-30 10:59:06 +02:00
Florian Bruhin 43fc49e5ad mypy: Make misc.sql fully typed
That was an oversight apparently
2023-06-30 00:58:41 +02:00
Florian Bruhin 31ece1ecb0 mypy: Turn on disallow_untyped_defs by default
Done by removing the existing config and doing:

    tox -e mypy-pyqt6 | \
    grep -F .py | \
    cut -d: -f1 | \
    sort | \
    uniq | \
    sed 's/\.py//' | \
    sed 's/\//./g' | \
    while read line; do \
    echo "[mypy-$line]\ndisallow_untyped_defs = False\n" \
    done >> .mypy.ini

This means we now enforce type annotations for all new modules.
We can still add sections for upcoming PR merges where this is a problem.

Closes #7409
2023-06-30 00:55:19 +02:00
Florian Bruhin 904cab911d mypy: Install more typeshed types 2023-06-30 00:49:30 +02:00
Florian Bruhin a6d4227578 qt6 mypy: Fix lint 2023-06-30 00:29:16 +02:00
Florian Bruhin 9637b8b4fa qt6 mypy: Fix broken assert 2023-06-30 00:24:41 +02:00
Florian Bruhin 783963b4da Fix lint 2023-06-29 23:31:14 +02:00
Florian Bruhin 41f374a662 qt6 mypy: Fix lint 2023-06-29 23:27:29 +02:00
Florian Bruhin 50a1f004f0 qt6 mypy: Enable on CI 2023-06-29 23:16:35 +02:00
Florian Bruhin ea2de0b40c qt6 mypy: Fix remaining unused-ignore issues 2023-06-29 23:16:16 +02:00
Florian Bruhin 69e2bbd766 qt6 mypy: Fix PyQt5 QUrl issues with a more clever approach 2023-06-29 23:06:54 +02:00
Florian Bruhin 42f0ee36e3 qt6 mypy: Remove PyQt5 type ignores 2023-06-29 22:11:03 +02:00
Florian Bruhin d13bd0675d qt6 mypy: Fix handling of AbstractTab.is_deleted() 2023-06-29 22:10:44 +02:00
Florian Bruhin 7b1029653f qt6 mypy: Don't attempt to type-check OpenGL functions 2023-06-29 22:06:25 +02:00
Florian Bruhin c8744122f6 qt6 mypy: Fix unused-ignores with mypy-pyqt5 2023-06-29 21:56:08 +02:00
Florian Bruhin 3811ec71a7 mypy qt6: Ignore unreachable after rebase 2023-06-29 21:17:16 +02:00
Florian Bruhin ba694fe001 qt6 mypy: Fix qt5 mypy regressions 2023-06-29 21:10:45 +02:00