fixed CI
This commit is contained in:
parent
f0124c7834
commit
cf0eadc2b6
|
@ -1,7 +1,7 @@
|
|||
import logging.handlers
|
||||
import signal
|
||||
import threading
|
||||
from curses import window, wrapper
|
||||
from curses import window, wrapper # type: ignore
|
||||
from functools import partial
|
||||
from types import FrameType
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ EXTRA_FILE_CHOOSER_PATHS = ["..", "/", "~"]
|
|||
CUSTOM_KEYBINDS: Dict[str, Dict[str, Any]] = {}
|
||||
|
||||
if os.path.isfile(CONFIG_FILE):
|
||||
config_params = runpy.run_path(CONFIG_FILE)
|
||||
config_params = runpy.run_path(CONFIG_FILE) # type: ignore
|
||||
for param, value in config_params.items():
|
||||
if param.isupper():
|
||||
globals()[param] = value
|
||||
|
|
|
@ -3,7 +3,7 @@ import logging
|
|||
from datetime import datetime
|
||||
from typing import Any, Dict, List, Optional, Tuple, Union, cast
|
||||
|
||||
from _curses import window
|
||||
from _curses import window # type: ignore
|
||||
|
||||
from arigram import config
|
||||
from arigram.colors import (
|
||||
|
@ -212,7 +212,7 @@ class ChatView:
|
|||
self, current: int, chats: List[Dict[str, Any]], title: str = "Chats"
|
||||
) -> None:
|
||||
self.win.erase()
|
||||
line = curses.ACS_VLINE
|
||||
line = curses.ACS_VLINE # type: ignore
|
||||
width = self.w - 1
|
||||
|
||||
self.win.vline(0, width, line, self.h)
|
||||
|
|
Loading…
Reference in a new issue