Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mesonium
gajim
Commits
33f62cec
Commit
33f62cec
authored
6 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
Fix bad-indentation pylint errors
parent
b8d70abd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gajim/conversation_textview.py
+4
-4
4 additions, 4 deletions
gajim/conversation_textview.py
scripts/dev/pylint-ci.sh
+1
-2
1 addition, 2 deletions
scripts/dev/pylint-ci.sh
with
5 additions
and
6 deletions
gajim/conversation_textview.py
+
4
−
4
View file @
33f62cec
...
...
@@ -805,10 +805,10 @@ def print_special_text(self, special_text, other_tags, graphics=True,
emoji_pixbufs
.
append_marks
(
self
.
tv
,
start_mark
,
end_mark
,
special_text
)
elif
special_text
.
startswith
(
'
www.
'
)
or
\
special_text
.
startswith
(
'
ftp.
'
)
or
\
text_is_valid_uri
and
not
is_xhtml_link
:
tags
.
append
(
'
url
'
)
elif
(
special_text
.
startswith
(
'
www.
'
)
or
special_text
.
startswith
(
'
ftp.
'
)
or
text_is_valid_uri
and
not
is_xhtml_link
)
:
tags
.
append
(
'
url
'
)
elif
special_text
.
startswith
(
'
mailto:
'
)
and
not
is_xhtml_link
:
tags
.
append
(
'
mail
'
)
elif
special_text
.
startswith
(
'
xmpp:
'
)
and
not
is_xhtml_link
:
...
...
This diff is collapsed.
Click to expand it.
scripts/dev/pylint-ci.sh
+
1
−
2
View file @
33f62cec
#!/bin/sh
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
# C0301 line-too-long
...
...
@@ -32,6 +32,5 @@ PYLINT=${PYLINT:-pylint}
# W0223 abstract-method
# W0231 super-init-not-called
# W0233 non-parent-init-called
# W0311 bad-indentation
# W0603 global-statement
# W0613 unused-argument
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment