Philipp Hörist pushed to branch master at gajim / gajim

Commits:

2 changed files:

Changes:

  • gajim/gtk/chat_page.py
    ... ... @@ -16,6 +16,7 @@
    16 16
     
    
    17 17
     from typing import Any
    
    18 18
     from typing import Literal
    
    19
    +from typing import TYPE_CHECKING
    
    19 20
     
    
    20 21
     import logging
    
    21 22
     
    
    ... ... @@ -36,7 +37,6 @@
    36 37
     from .chat_stack import ChatStack
    
    37 38
     from .search_view import SearchView
    
    38 39
     
    
    39
    -from typing import TYPE_CHECKING
    
    40 40
     if TYPE_CHECKING:
    
    41 41
         from .control import ChatControl
    
    42 42
     
    

  • gajim/gtk/main.py
    ... ... @@ -17,6 +17,7 @@
    17 17
     from typing import Any
    
    18 18
     from typing import cast
    
    19 19
     from typing import Optional
    
    20
    +from typing import TYPE_CHECKING
    
    20 21
     
    
    21 22
     import logging
    
    22 23
     
    
    ... ... @@ -63,7 +64,6 @@
    63 64
     from .structs import AddChatActionParams
    
    64 65
     from .structs import actionmethod
    
    65 66
     
    
    66
    -from typing import TYPE_CHECKING
    
    67 67
     if TYPE_CHECKING:
    
    68 68
         from .control import ChatControl
    
    69 69