summaryrefslogtreecommitdiff
path: root/misc/requirements/requirements-mypy.txt
AgeCommit message (Collapse)Author
3 daysUpdate dependenciesqutebrowser bot
10 daysUpdate dependenciesqutebrowser bot
2024-05-20Update dependenciesqutebrowser bot
2024-05-06Update dependenciesqutebrowser bot
2024-04-27Update dependenciesqutebrowser bot
2024-04-27Update dependenciesqutebrowser bot
2024-04-15Update dependenciesqutebrowser bot
2024-04-08Update dependenciesqutebrowser bot
2024-03-25Update dependenciesqutebrowser bot
2024-03-18Update dependenciesqutebrowser bot
2024-03-04Update dependenciesqutebrowser bot
2024-02-26Update dependenciesqutebrowser bot
2024-02-19Update dependenciesqutebrowser bot
2024-02-05Update dependenciesqutebrowser bot
2024-01-29Update dependenciesqutebrowser bot
2024-01-22Update dependenciesqutebrowser bot
2024-01-15Update dependenciesqutebrowser bot
2024-01-08Update dependenciesqutebrowser bot
2024-01-01Update dependenciesqutebrowser bot
2023-12-25Update dependenciesqutebrowser bot
2023-12-18Update dependenciesqutebrowser bot
2023-12-11Update dependenciesqutebrowser bot
2023-12-04Update dependenciesqutebrowser bot
2023-11-27Update dependenciesqutebrowser bot
2023-11-20Update dependenciesqutebrowser bot
2023-11-13Downgrade mypy for nowtoofar
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-13Update dependenciesqutebrowser bot
2023-10-23Update dependenciesqutebrowser bot
2023-10-16Update dependenciesqutebrowser bot
2023-09-25Update dependenciesqutebrowser bot
2023-09-18Update dependenciesqutebrowser bot
2023-09-11Update dependenciesqutebrowser bot
2023-09-04Update dependenciesqutebrowser bot
2023-08-28Update dependenciesqutebrowser bot
2023-08-21Update dependenciesqutebrowser bot
2023-08-14Update dependenciesqutebrowser bot
2023-08-07Update dependenciesqutebrowser bot
2023-07-24Update dependenciesqutebrowser bot
2023-07-20Update dependenciesqutebrowser bot
2023-07-10Merge remote-tracking branch 'origin/update-dependencies'Florian Bruhin
2023-07-10Update dependenciesqutebrowser bot
2023-07-09mypy: Switch to upstream stubs for PyQt6Florian Bruhin
They are getting much better
2023-07-03Update dependenciesqutebrowser bot
2023-06-30mypy: Install more typeshed typesFlorian Bruhin
2023-06-29qt6 mypy: Add PyQt6-stubsFlorian Bruhin
Unfortunately there is no PyPI release yet, so install from git. 243 -> 191 errors
2023-06-26Update dependenciesqutebrowser bot
2023-06-19Update dependenciesqutebrowser bot
2023-06-12Update dependenciesqutebrowser bot
2023-06-05Update dependenciesqutebrowser bot
2023-05-29Update dependenciesqutebrowser bot