core: add __NOT_HPI_MODULE__ flag to mark utility files etc

(more of an intermediate solution perhaps)
This commit is contained in:
Dima Gerasimov 2020-09-29 15:22:30 +01:00 committed by karlicoss
parent 3b9941e9ee
commit fd41caa640
12 changed files with 48 additions and 56 deletions

View file

@ -139,3 +139,5 @@ def read_html(tpath: Path, file: str) -> Iterable[Parsed]:
data = fo.read()
parser.feed(data)
return results
from ...core import __NOT_HPI_MODULE__

View file

@ -3,7 +3,8 @@ Module for locating and accessing [[https://takeout.google.com][Google Takeout]]
'''
from dataclasses import dataclass
from ...core.common import Paths
from ...core.common import Paths, get_files
from ...core.util import __NOT_HPI_MODULE__
from my.config import google as user_config
@dataclass
@ -19,7 +20,6 @@ config = make_config(google)
from pathlib import Path
from typing import Optional, Iterable
from ...common import get_files
from ...kython.kompress import kopen, kexists