Fixed pycodestyle E1 errors
This commit is contained in:
+9
-9
@@ -146,9 +146,9 @@ class GuiAbout(QDialog):
|
|||||||
aboutMsg += (
|
aboutMsg += (
|
||||||
"<h4>Theme: {name:s}</h4>"
|
"<h4>Theme: {name:s}</h4>"
|
||||||
"<p>"
|
"<p>"
|
||||||
"<b>Author:</b> {author:s}<br/>"
|
"<b>Author:</b> {author:s}<br/>"
|
||||||
"<b>Credit:</b> {credit:s}<br/>"
|
"<b>Credit:</b> {credit:s}<br/>"
|
||||||
"<b>License:</b> <a href='{lic_url:s}'>{license:s}</a>"
|
"<b>License:</b> <a href='{lic_url:s}'>{license:s}</a>"
|
||||||
"</p>"
|
"</p>"
|
||||||
).format(
|
).format(
|
||||||
name = theTheme.themeName,
|
name = theTheme.themeName,
|
||||||
@@ -161,9 +161,9 @@ class GuiAbout(QDialog):
|
|||||||
aboutMsg += (
|
aboutMsg += (
|
||||||
"<h4>Icons: {name:s}</h4>"
|
"<h4>Icons: {name:s}</h4>"
|
||||||
"<p>"
|
"<p>"
|
||||||
"<b>Author:</b> {author:s}<br/>"
|
"<b>Author:</b> {author:s}<br/>"
|
||||||
"<b>Credit:</b> {credit:s}<br/>"
|
"<b>Credit:</b> {credit:s}<br/>"
|
||||||
"<b>License:</b> <a href='{lic_url:s}'>{license:s}</a>"
|
"<b>License:</b> <a href='{lic_url:s}'>{license:s}</a>"
|
||||||
"</p>"
|
"</p>"
|
||||||
).format(
|
).format(
|
||||||
name = theIcons.themeName,
|
name = theIcons.themeName,
|
||||||
@@ -176,9 +176,9 @@ class GuiAbout(QDialog):
|
|||||||
aboutMsg += (
|
aboutMsg += (
|
||||||
"<h4>Syntax: {name:s}</h4>"
|
"<h4>Syntax: {name:s}</h4>"
|
||||||
"<p>"
|
"<p>"
|
||||||
"<b>Author:</b> {author:s}<br/>"
|
"<b>Author:</b> {author:s}<br/>"
|
||||||
"<b>Credit:</b> {credit:s}<br/>"
|
"<b>Credit:</b> {credit:s}<br/>"
|
||||||
"<b>License:</b> <a href='{lic_url:s}'>{license:s}</a>"
|
"<b>License:</b> <a href='{lic_url:s}'>{license:s}</a>"
|
||||||
"</p>"
|
"</p>"
|
||||||
).format(
|
).format(
|
||||||
name = theTheme.syntaxName,
|
name = theTheme.syntaxName,
|
||||||
|
|||||||
+3
-2
@@ -962,8 +962,9 @@ class GuiDocEditor(QTextEdit):
|
|||||||
if theSize > self.mainConf.bigDocLimit*1000:
|
if theSize > self.mainConf.bigDocLimit*1000:
|
||||||
logger.info(
|
logger.info(
|
||||||
"The document size is %d > %d, big doc mode is enabled" % (
|
"The document size is %d > %d, big doc mode is enabled" % (
|
||||||
theSize, self.mainConf.bigDocLimit*1000
|
theSize, self.mainConf.bigDocLimit*1000
|
||||||
))
|
)
|
||||||
|
)
|
||||||
self.bigDoc = True
|
self.bigDoc = True
|
||||||
else:
|
else:
|
||||||
self.bigDoc = False
|
self.bigDoc = False
|
||||||
|
|||||||
Reference in New Issue
Block a user