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 22, 2022
1 parent ec8bafa commit bc7188e
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 @@ -22,6 +22,7 @@ setuptools = {version = "*", platform = "win32"}
black = "*"
isort = "*"
mypy = "*"
PySide2-stubs = "*"

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

0 comments on commit bc7188e

Please sign in to comment.