Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 11, 2024
1 parent 842c080 commit b3c43a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qtpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,11 @@ def __init__(self, *, missing_package=None, **superclass_kwargs):
if API in PYSIDE6_API:
try:
from PySide6 import __version__ as PYSIDE_VERSION # analysis:ignore

if PYSIDE_VERSION == "6.8.0":
print(
"A known critical bug in PySide6 6.8.0 will cause your application to crash "
"see https://github.com/spyder-ide/qtpy/issues/494"
"see https://github.com/spyder-ide/qtpy/issues/494",
)
from PySide6.QtCore import __version__ as QT_VERSION # analysis:ignore

Expand Down

0 comments on commit b3c43a0

Please sign in to comment.