Skip to content

Commit 6fded70

Browse files
committed
For mypy in pre-commit use modified pyqt6 without qt
1 parent fa4ea48 commit 6fded70

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,16 @@ repos:
3636
hooks:
3737
- id: mypy
3838
additional_dependencies:
39+
- darkdetect
40+
- platformdirs
41+
# This is a hack to get type checking for PyQt6 but to stay under
42+
# pre-commit.ci's 250MiB limit.
43+
# <https://github.com/maresb/pyqt6-without-qt>
44+
- pyqt6-without-qt
45+
- typer
3946
- types-pillow
4047
- types-cffi
4148
- types-pygments
42-
- pyqt6
43-
- typer
44-
- platformdirs
45-
- darkdetect
4649

4750
- repo: https://github.com/igorshubovych/markdownlint-cli
4851
rev: v0.39.0

0 commit comments

Comments
 (0)