core: cleanup deprecations, exclude from type checking and show runtime warnings
among affected things: - core.common.assert_never - core.common.cproperty - core.common.isoparse - core.common.mcachew - core.common.the - core.common.tzdatetime - core.compat.sqlite_backup
This commit is contained in:
parent
8834001fe7
commit
918e8ee551
24 changed files with 118 additions and 103 deletions
|
@ -13,11 +13,11 @@ import json
|
|||
from pathlib import Path
|
||||
from typing import Optional, NamedTuple, Iterator, Iterable, List
|
||||
|
||||
from geopy.geocoders import Nominatim # type: ignore
|
||||
from geopy.geocoders import Nominatim # type: ignore
|
||||
|
||||
from ..core.common import LazyLogger, mcachew, fastermime
|
||||
from ..core.error import Res, sort_res_by
|
||||
from ..core.cachew import cache_dir
|
||||
from my.core.common import LazyLogger, fastermime
|
||||
from my.core.error import Res, sort_res_by
|
||||
from my.core.cachew import cache_dir, mcachew
|
||||
|
||||
from my.config import photos as config # type: ignore[attr-defined]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue