Fix wrong-import-order pylint errors
This commit is contained in:
parent
3b3c2af97b
commit
cf40a2a8ef
|
@ -12,12 +12,14 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Gajim. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import logging
|
||||
|
||||
import nbxmpp
|
||||
from gajim.common import app
|
||||
from gajim.common.jingle_transport import TransportType
|
||||
from gajim.common.socks5 import Socks5ReceiverClient, Socks5SenderClient
|
||||
from gajim.common.socks5 import Socks5ReceiverClient
|
||||
from gajim.common.socks5 import Socks5SenderClient
|
||||
|
||||
import logging
|
||||
log = logging.getLogger('gajim.c.jingle_ftstates')
|
||||
|
||||
|
||||
|
|
|
@ -26,10 +26,12 @@
|
|||
|
||||
import socket
|
||||
import base64
|
||||
from gi.repository import GLib
|
||||
import time
|
||||
import logging
|
||||
|
||||
import nbxmpp
|
||||
from gi.repository import GLib
|
||||
|
||||
from gajim.common import app
|
||||
from gajim.common import helpers
|
||||
from gajim.common import ged
|
||||
|
@ -37,7 +39,7 @@ from gajim.common import jingle_xtls
|
|||
from gajim.common.file_props import FilesProp
|
||||
from gajim.common.socks5 import Socks5SenderClient
|
||||
|
||||
import logging
|
||||
|
||||
log = logging.getLogger('gajim.c.p.bytestream')
|
||||
|
||||
def is_transfer_paused(file_props):
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
#!/bin/sh
|
||||
PYLINT=${PYLINT:-pylint}
|
||||
|
||||
"$PYLINT" --disable=C0103,C0302,C0301,C0330,C0411,C0412,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,W0401,W0603,W0613 "$@"
|
||||
"$PYLINT" --disable=C0103,C0302,C0301,C0330,C0412,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,W0401,W0603,W0613 "$@"
|
||||
|
||||
# C0103 invalid-name
|
||||
# C0301 line-too-long
|
||||
# C0302 too-many-lines
|
||||
# C0330 bad-continuation
|
||||
# C0411 wrong-import-order
|
||||
# C0412 ungrouped-imports
|
||||
# E0203 access-member-before-definition
|
||||
# E0401 import-error
|
||||
|
|
Loading…
Reference in New Issue