Fix bad-indentation pylint errors
This commit is contained in:
parent
b8d70abdb0
commit
33f62cecf9
|
@ -805,9 +805,9 @@ class ConversationTextview(GObject.GObject):
|
||||||
emoji_pixbufs.append_marks(
|
emoji_pixbufs.append_marks(
|
||||||
self.tv, start_mark, end_mark, special_text)
|
self.tv, start_mark, end_mark, special_text)
|
||||||
|
|
||||||
elif special_text.startswith('www.') or \
|
elif (special_text.startswith('www.') or
|
||||||
special_text.startswith('ftp.') or \
|
special_text.startswith('ftp.') or
|
||||||
text_is_valid_uri and not is_xhtml_link:
|
text_is_valid_uri and not is_xhtml_link):
|
||||||
tags.append('url')
|
tags.append('url')
|
||||||
elif special_text.startswith('mailto:') and not is_xhtml_link:
|
elif special_text.startswith('mailto:') and not is_xhtml_link:
|
||||||
tags.append('mail')
|
tags.append('mail')
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
PYLINT=${PYLINT:-pylint}
|
PYLINT=${PYLINT:-pylint}
|
||||||
|
|
||||||
"$PYLINT" --disable=C0103,C0302,C0301,C0330,E0203,E0401,E0611,E0710,E0712,E1101,E1102,E1133,E1136,R0201,R0901,R0904,R0912,R0913,R0914,R0915,R0916,R1702,R1710,W0201,W0212,W0221,W0223,W0231,W0233,W0311,W0603,W0613 "$@"
|
"$PYLINT" --disable=C0103,C0302,C0301,C0330,E0203,E0401,E0611,E0710,E0712,E1101,E1102,E1133,E1136,R0201,R0901,R0904,R0912,R0913,R0914,R0915,R0916,R1702,R1710,W0201,W0212,W0221,W0223,W0231,W0233,W0603,W0613 "$@"
|
||||||
|
|
||||||
# C0103 invalid-name
|
# C0103 invalid-name
|
||||||
# C0301 line-too-long
|
# C0301 line-too-long
|
||||||
|
@ -32,6 +32,5 @@ PYLINT=${PYLINT:-pylint}
|
||||||
# W0223 abstract-method
|
# W0223 abstract-method
|
||||||
# W0231 super-init-not-called
|
# W0231 super-init-not-called
|
||||||
# W0233 non-parent-init-called
|
# W0233 non-parent-init-called
|
||||||
# W0311 bad-indentation
|
|
||||||
# W0603 global-statement
|
# W0603 global-statement
|
||||||
# W0613 unused-argument
|
# W0613 unused-argument
|
||||||
|
|
Loading…
Reference in New Issue