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
dc3910ce
Commit
dc3910ce
authored
5 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
Fix useless-return pylint errors
parent
8ca9c1d6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gajim/common/protocol/bytestream.py
+0
-1
0 additions, 1 deletion
gajim/common/protocol/bytestream.py
scripts/dev/pylint-ci.sh
+1
-2
1 addition, 2 deletions
scripts/dev/pylint-ci.sh
with
1 addition
and
3 deletions
gajim/common/protocol/bytestream.py
+
0
−
1
View file @
dc3910ce
...
...
@@ -563,7 +563,6 @@ def _result_socks5_sid(self, sid, hash_id):
"""
file_props
=
FilesProp
.
getFilePropBySid
(
sid
)
file_props
.
hash_
=
hash_id
return
def
_connect_error
(
self
,
sid
,
error
,
error_type
,
msg
=
None
):
"""
...
...
This diff is collapsed.
Click to expand it.
scripts/dev/pylint-ci.sh
+
1
−
2
View file @
dc3910ce
#!/bin/sh
PYLINT
=
${
PYLINT
:-
pylint
}
"
$PYLINT
"
--disable
=
C0103,C0302,C0330,C0411,C0412,C0413,E0203,E0401,E0611,E0710,E0712,E1101,E1102,E1128,E1133,E1136,R0201,R0901,R0904,R0913,R0916,R1702,R1706,
R1711,
R1716,W0201,W0212,W0221,W0223,W0311,W0401,W0603,W0613,W0614
"
$@
"
"
$PYLINT
"
--disable
=
C0103,C0302,C0330,C0411,C0412,C0413,E0203,E0401,E0611,E0710,E0712,E1101,E1102,E1128,E1133,E1136,R0201,R0901,R0904,R0913,R0916,R1702,R1706,R1716,W0201,W0212,W0221,W0223,W0311,W0401,W0603,W0613,W0614
"
$@
"
# C0103 invalid-name
# C0302 too-many-lines
...
...
@@ -26,7 +26,6 @@ PYLINT=${PYLINT:-pylint}
# R0916 too-many-boolean-expressions
# R1702 too-many-nested-blocks
# R1706 consider-using-ternary
# R1711 useless-return
# R1716 chained-comparison
# W0201 attribute-defined-outside-init
# W0212 protected-access
...
...
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