widgets: flake8 and pylint fixes
[git-cola.git] / qtpy / QtWebSockets.py
bloba9bd33d9285835de38420aca3eb28336c3ecc1ac
1 # -----------------------------------------------------------------------------
2 # Copyright © 2009- The Spyder Development Team
4 # Licensed under the terms of the MIT License
5 # (see LICENSE.txt for details)
6 # -----------------------------------------------------------------------------
8 """Provides QtWebSockets classes and functions."""
10 from . import PYQT5, PYQT6, PYSIDE2, PYSIDE6
12 if PYQT5:
13 from PyQt5.QtWebSockets import *
14 elif PYQT6:
15 from PyQt6.QtWebSockets import *
16 elif PYSIDE2:
17 from PySide2.QtWebSockets import *
18 elif PYSIDE6:
19 from PySide6.QtWebSockets import *