Fix trailing-comma-tuple pylint errors
This commit is contained in:
		
							parent
							
								
									67bb5a57c3
								
							
						
					
					
						commit
						04b70bf220
					
				
					 4 changed files with 9 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -77,7 +77,7 @@ class CustomChatCommands(CommandContainer):
 | 
			
		|||
    """
 | 
			
		||||
 | 
			
		||||
    AUTOMATIC = True
 | 
			
		||||
    HOSTS = ChatCommands,
 | 
			
		||||
    HOSTS = (ChatCommands,)
 | 
			
		||||
 | 
			
		||||
    @command("squal", "bawl")
 | 
			
		||||
    def sing(self):
 | 
			
		||||
| 
						 | 
				
			
			@ -100,7 +100,7 @@ class CustomPrivateChatCommands(CommandContainer):
 | 
			
		|||
    """
 | 
			
		||||
 | 
			
		||||
    AUTOMATIC = True
 | 
			
		||||
    HOSTS = PrivateChatCommands,
 | 
			
		||||
    HOSTS = (PrivateChatCommands,)
 | 
			
		||||
 | 
			
		||||
    @command
 | 
			
		||||
    #Example string. Do not translate
 | 
			
		||||
| 
						 | 
				
			
			@ -116,7 +116,7 @@ class CustomGroupChatCommands(CommandContainer):
 | 
			
		|||
    """
 | 
			
		||||
 | 
			
		||||
    AUTOMATIC = True
 | 
			
		||||
    HOSTS = GroupChatCommands,
 | 
			
		||||
    HOSTS = (GroupChatCommands,)
 | 
			
		||||
 | 
			
		||||
    @command
 | 
			
		||||
    def fetch(self):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -225,7 +225,7 @@ class StandardChatCommands(CommandContainer):
 | 
			
		|||
    """
 | 
			
		||||
 | 
			
		||||
    AUTOMATIC = True
 | 
			
		||||
    HOSTS = ChatCommands,
 | 
			
		||||
    HOSTS = (ChatCommands,)
 | 
			
		||||
 | 
			
		||||
class StandardPrivateChatCommands(CommandContainer):
 | 
			
		||||
    """
 | 
			
		||||
| 
						 | 
				
			
			@ -234,7 +234,7 @@ class StandardPrivateChatCommands(CommandContainer):
 | 
			
		|||
    """
 | 
			
		||||
 | 
			
		||||
    AUTOMATIC = True
 | 
			
		||||
    HOSTS = PrivateChatCommands,
 | 
			
		||||
    HOSTS = (PrivateChatCommands,)
 | 
			
		||||
 | 
			
		||||
class StandardGroupChatCommands(CommandContainer):
 | 
			
		||||
    """
 | 
			
		||||
| 
						 | 
				
			
			@ -243,7 +243,7 @@ class StandardGroupChatCommands(CommandContainer):
 | 
			
		|||
    """
 | 
			
		||||
 | 
			
		||||
    AUTOMATIC = True
 | 
			
		||||
    HOSTS = GroupChatCommands,
 | 
			
		||||
    HOSTS = (GroupChatCommands,)
 | 
			
		||||
 | 
			
		||||
    @command
 | 
			
		||||
    @doc(_("Clear the text window"))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -103,9 +103,9 @@ class XssIdleMonitor:
 | 
			
		|||
            raise OSError('libX11 could not be found.')
 | 
			
		||||
        libX11 = ctypes.cdll.LoadLibrary(libX11path)
 | 
			
		||||
        libX11.XOpenDisplay.restype = display_p
 | 
			
		||||
        libX11.XOpenDisplay.argtypes = ctypes.c_char_p,
 | 
			
		||||
        libX11.XOpenDisplay.argtypes = (ctypes.c_char_p,)
 | 
			
		||||
        libX11.XDefaultRootWindow.restype = xid
 | 
			
		||||
        libX11.XDefaultRootWindow.argtypes = display_p,
 | 
			
		||||
        libX11.XDefaultRootWindow.argtypes = (display_p,)
 | 
			
		||||
 | 
			
		||||
        libXsspath = ctypes.util.find_library('Xss')
 | 
			
		||||
        if libXsspath is None:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -410,7 +410,7 @@ class ConnectionSocks5Bytestream(ConnectionBytestream):
 | 
			
		|||
        except socket.gaierror:
 | 
			
		||||
            from gajim.common.connection_handlers_events import InformationEvent
 | 
			
		||||
            app.nec.push_incoming_event(
 | 
			
		||||
                InformationEvent(None, dialog_name='wrong-host')),
 | 
			
		||||
                InformationEvent(None, dialog_name='wrong-host'))
 | 
			
		||||
 | 
			
		||||
    def _add_addiditional_streamhosts_to_query(self, query, file_props):
 | 
			
		||||
        sender = file_props.sender
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue