Skip to content

Commit

Permalink
Add log output to turbo check function
Browse files Browse the repository at this point in the history
  • Loading branch information
titusz committed Oct 19, 2024
1 parent 44a0d16 commit 3b3f719
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iscc_core/check.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
"""Inspect lib environment/installation"""
import inspect
from loguru import logger as log


__all__ = ["turbo"]
Expand All @@ -14,6 +15,7 @@ def turbo(): # pragma: no cover
modules = (cdc, minhash, simhash, dct, wtahash)
for module in modules:
module_file = inspect.getfile(module)
log.debug(f"Module {module.__name__} file: {module_file}")
if module_file.endswith(".py"):
return False
return True

0 comments on commit 3b3f719

Please sign in to comment.