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
parent 322c55a19a
commit c2620cf8dd
12 changed files with 48 additions and 56 deletions

View file

@ -29,3 +29,5 @@ def set_repo(name: str, repo: Union[Path, str]) -> None:
# TODO set_repo is still useful, but perhaps move this thing away to core?
# TODO ok, I need to get rid of this, better to rely on regular imports
from .core import __NOT_HPI_MODULE__