Age | Commit message (Collapse) | Author | |
---|---|---|---|
3 days | Update dependencies | qutebrowser bot | |
10 days | Update dependencies | qutebrowser bot | |
2024-05-20 | Update dependencies | qutebrowser bot | |
2024-05-06 | Update dependencies | qutebrowser bot | |
2024-04-27 | Update dependencies | qutebrowser bot | |
2024-04-27 | Update dependencies | qutebrowser bot | |
2024-04-15 | Update dependencies | qutebrowser bot | |
2024-04-08 | Update dependencies | qutebrowser bot | |
2024-03-25 | Update dependencies | qutebrowser bot | |
2024-03-18 | Update dependencies | qutebrowser bot | |
2024-03-04 | Update dependencies | qutebrowser bot | |
2024-02-26 | Update dependencies | qutebrowser bot | |
2024-02-19 | Update dependencies | qutebrowser bot | |
2024-02-05 | Update dependencies | qutebrowser bot | |
2024-01-29 | Update dependencies | qutebrowser bot | |
2024-01-22 | Update dependencies | qutebrowser bot | |
2024-01-15 | Update dependencies | qutebrowser bot | |
2024-01-08 | Update dependencies | qutebrowser bot | |
2024-01-01 | Update dependencies | qutebrowser bot | |
2023-12-25 | Update dependencies | qutebrowser bot | |
2023-12-18 | Update dependencies | qutebrowser bot | |
2023-12-11 | Update dependencies | qutebrowser bot | |
2023-12-04 | Update dependencies | qutebrowser bot | |
2023-11-27 | Update dependencies | qutebrowser bot | |
2023-11-20 | Update dependencies | qutebrowser bot | |
2023-11-13 | Downgrade mypy for now | toofar | |
I believe we are being afflicted by this issue: https://github.com/python/mypy/issues/16451 Although I'm not 100% sure because there is a lot going on in this function and I haven't managed to grok it. The mypy 1.7 release [notes][1.7] say you can disable the new type inference by running `tox -e mypy-pyqt6 -- --old-type-inference` and indeed mypy passes with that. So either our type hints are incorrect or we are hitting a bug. Considering the inferred type hint has a `Never` in it I'm leading toward it being a bug. So I'll bump the mypy version down and hopefully next week the issue will be resolved. The mypy output before this commit was: mypy-pyqt6: commands[0]> .tox/mypy-pyqt6/bin/python -m mypy --always-true=USE_PYQT6 --always-false=USE_PYQT5 --always-false=USE_PYSIDE6 --always-false=IS_QT5 --always-true=IS_QT6 --always-true=IS_PYQT --always-false=IS_PYSIDE qutebrowser qutebrowser/utils/qtutils.py:239: error: Argument 1 to "contextmanager" has incompatible type "Callable[[str, bool, str], Iterator[IO[AnyStr]]]"; expected "Callable[[str, bool, str], Iterator[IO[Never]]]" [arg-type] @contextlib.contextmanager ^ qutebrowser/misc/lineparser.py: note: In member "save" of class "LineParser": qutebrowser/misc/lineparser.py:168: error: Need type annotation for "f" [var-annotated] with qtutils.savefile_open(self._configfile, self._binary) as f: ^ qutebrowser/misc/lineparser.py: note: In member "save" of class "LimitLineParser": qutebrowser/misc/lineparser.py:226: error: Need type annotation for "f" [var-annotated] with qtutils.savefile_open(self._configfile, self._binary) as f: ^ qutebrowser/config/configfiles.py: note: In member "_save" of class "YamlConfig": qutebrowser/config/configfiles.py:292: error: Need type annotation for "f" [var-annotated] with qtutils.savefile_open(self._filename) as f: ^ qutebrowser/misc/sessions.py: note: In member "save" of class "SessionManager": qutebrowser/misc/sessions.py:343: error: Need type annotation for "f" [var-annotated] with qtutils.savefile_open(path) as f: [1.7]: https://mypy-lang.blogspot.com/2023/11/mypy-17-released.html | |||
2023-11-13 | Update dependencies | qutebrowser bot | |
2023-10-23 | Update dependencies | qutebrowser bot | |
2023-10-16 | Update dependencies | qutebrowser bot | |
2023-09-25 | Update dependencies | qutebrowser bot | |
2023-09-18 | Update dependencies | qutebrowser bot | |
2023-09-11 | Update dependencies | qutebrowser bot | |
2023-09-04 | Update dependencies | qutebrowser bot | |
2023-08-28 | Update dependencies | qutebrowser bot | |
2023-08-21 | Update dependencies | qutebrowser bot | |
2023-08-14 | Update dependencies | qutebrowser bot | |
2023-08-07 | Update dependencies | qutebrowser bot | |
2023-07-24 | Update dependencies | qutebrowser bot | |
2023-07-20 | Update dependencies | qutebrowser bot | |
2023-07-10 | Merge remote-tracking branch 'origin/update-dependencies' | Florian Bruhin | |
2023-07-10 | Update dependencies | qutebrowser bot | |
2023-07-09 | mypy: Switch to upstream stubs for PyQt6 | Florian Bruhin | |
They are getting much better | |||
2023-07-03 | Update dependencies | qutebrowser bot | |
2023-06-30 | mypy: Install more typeshed types | Florian Bruhin | |
2023-06-29 | qt6 mypy: Add PyQt6-stubs | Florian Bruhin | |
Unfortunately there is no PyPI release yet, so install from git. 243 -> 191 errors | |||
2023-06-26 | Update dependencies | qutebrowser bot | |
2023-06-19 | Update dependencies | qutebrowser bot | |
2023-06-12 | Update dependencies | qutebrowser bot | |
2023-06-05 | Update dependencies | qutebrowser bot | |
2023-05-29 | Update dependencies | qutebrowser bot | |