my.core: deprecate Path/dataclass imports from my.core during type checking

runtime still works for backwards compatibility
This commit is contained in:
Dima Gerasimov 2024-08-16 00:14:44 +03:00 committed by karlicoss
parent 7f8a502310
commit 2b0f92c883
10 changed files with 34 additions and 18 deletions

View file

@ -4,9 +4,10 @@ Parses active browser history by backing it up with [[http://github.com/seanbrec
REQUIRES = ["browserexport", "sqlite_backup"]
from dataclasses import dataclass
from my.config import browser as user_config
from my.core import Paths, dataclass
from my.core import Paths
@dataclass