Skip to content
Snippets Groups Projects
Commit dc3910ce authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix useless-return pylint errors

parent 8ca9c1d6
No related branches found
No related tags found
No related merge requests found
......@@ -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):
"""
......
#!/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment