Skip to content

Commit

Permalink
add dev dependency: PySide2-stubs
Browse files Browse the repository at this point in the history
Mypy was returning many errors relating to PySide2, which didn't
make much sense. This is apparently because there are missing type
hinting stubs for PySide2.

The temporary solution is to add this devel dependency.

Upstream issue: (remove dep. when solved)
  - https://bugreports.qt.io/browse/PYSIDE-1675
  • Loading branch information
deeplow committed Aug 17, 2022
1 parent 23ce195 commit 8746a77
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 20 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ setuptools = {version = "*", platform = "win32"}
black = "*"
isort = "*"
mypy = "*"
PySide2-stubs = "*"

[tool.poetry.scripts]
dangerzone = 'dangerzone:main'
Expand Down

0 comments on commit 8746a77

Please sign in to comment.