Skip to content

Commit

Permalink
FIX: pycodestyle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
desty2k committed Dec 13, 2020
1 parent d5d2eb3 commit e84821a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions example/framelessWindowsExample.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,13 @@ def main():
dialog = FramelessDialog()
dialog.show()

text = """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae efficitur arcu, sed accumsan sem.
Interdum et malesuada fames ac ante ipsum primis in faucibus. Nulla sit amet rhoncus eros. Curabitur auctor,
mauris a tincidunt congue, libero libero porttitor urna, sed semper ligula libero nec leo. Phasellus feugiat
maximus auctor."""
text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vitae efficitur arcu, sed accumsan sem. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nulla sit amet rhoncus eros. Curabitur auctor, mauris a tincidunt congue, libero libero porttitor urna, sed semper ligula libero nec leo. Phasellus feugiat maximus auctor." # noqa

x = 0
q = FramelessQuestionMessageBox()
q.setText(text)
q.show()
q.move(QPoint(0, x*q.height()))
q.move(QPoint(0, x * q.height()))

x += 1
c = FramelessCriticalMessageBox()
Expand Down
2 changes: 1 addition & 1 deletion qrainbowstyle/widgets/GoogleMapsWidget/MapsWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def javaScriptConsoleMessage(self, level, msg, line, source_id):
line (int): Line in code where error occured.
source_id (str): Element ID.
"""
self._logger.log(10*(level+1), "[{}]: {}".format(line, msg))
self._logger.log(10 * (level + 1), "[{}]: {}".format(line, msg))


class GoogleMapsView(QWebEngineView):
Expand Down
1 change: 0 additions & 1 deletion qrainbowstyle/windows/framelessmessagebox.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,3 @@ def __init__(self, parent=None):
class FramelessQuestionMessageBox(FramelessMessageBox):
def __init__(self, parent=None):
super(FramelessQuestionMessageBox, self).__init__(icon=QStyle.SP_MessageBoxQuestion, parent=parent)

0 comments on commit e84821a

Please sign in to comment.