Commit Graph

18 Commits

Author SHA1 Message Date
Florian Bruhin cc18a624b5 Remove importlib_resources from requirements 2024-10-15 11:55:04 +02: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 904cab911d mypy: Install more typeshed types 2023-06-30 00:49:30 +02:00
Florian Bruhin d27902e054 qt6 mypy: Add PyQt6-stubs
Unfortunately there is no PyPI release yet, so install from git.

243 -> 191 errors
2023-06-29 21:10:01 +02:00
Florian Bruhin 93c7fdd60c Initial Python 3.7 drop 2023-06-26 14:39:54 +02:00
Florian Bruhin 0b0be06e54 Drop types-dataclasses
There is https://github.com/python/typeshed/blob/master/stdlib/dataclasses.pyi for the stdlib one
2022-04-04 09:33:18 +02:00
Florian Bruhin 698d2d6b8b Add new types packages for mypy
See http://mypy-lang.blogspot.com/2021/05/the-upcoming-switch-to-modular-typeshed.html
2021-06-14 12:19:25 +02:00
Florian Bruhin 8a3c77ffd2 requirements: Add importlib-metadata 2021-02-25 10:00:46 +01:00
Florian Bruhin a96f6b4589 mypy: Switch to PyQt5-stubs release
Hopefully we get more frequent releases now
2021-02-22 08:58:31 +01:00
Florian Bruhin 591ea308f7 mypy: Ensure importlib_resources is available 2020-12-22 18:19:42 +01:00
Florian Bruhin b5de2f9c1d requirements: Pin PyQt5-stubs version 2020-09-23 10:31:21 +02:00
Florian Bruhin 0e2db8eadc Add "tox -e mypy-diff"
Not done by default with "tox -e mypy" because it disables mypy's caching,
causing its runtime to go from <1s to ~15s:
https://github.com/python/mypy/issues/9041

See #1456
2020-06-24 15:01:16 +02:00
Florian Bruhin a04e7fe0df mypy requirements: Add lxml 2020-06-24 14:00:58 +02:00
Florian Bruhin 2afda2ed1a mypy: Switch back to upstream stubs
See #5368
2020-05-09 16:45:30 +02:00
Florian Bruhin b31e5642de Fix double PyQt5 requirement
PyQt5-stubs tries to pull in PyQt5 5.11.3 but we want PyQt 5.12 (which works
fine) from requirements-pyqt.txt.
2019-02-16 21:01:55 +01:00
Florian Bruhin ee1f7a5187 mypy: Use own copy of PyQt5-stubs
The one by upstream need various fixes which aren't merged yet.
2018-11-26 18:25:12 +01:00
Florian Bruhin 3cc2af909b mypy: Add PyQt5 stubs 2018-11-26 18:25:12 +01:00
Florian Bruhin 85b2fb513b mypy: Add to tox 2018-11-22 13:51:55 +01:00