Merge pull request #827 from MemPalace/fix-unused-import-main-11480774650305903580

🧹 Remove unused import 'main' from mempalace/__init__.py
This commit is contained in:
Igor Lins e Silva
2026-04-13 19:41:02 -03:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -2,7 +2,6 @@
import logging
from .cli import main # noqa: E402
from .version import __version__ # noqa: E402
# ChromaDB 0.6.x ships a Posthog telemetry client whose capture() signature is
@@ -25,4 +24,4 @@ logging.getLogger("chromadb.telemetry.product.posthog").setLevel(logging.CRITICA
# intact, so the real fix is upgrading chromadb to 1.5.4+, which #581
# proposes. See #397 for the history of this line.
__all__ = ["main", "__version__"]
__all__ = ["__version__"]
+1 -1
View File
@@ -35,7 +35,7 @@ Repository = "https://github.com/milla-jovovich/mempalace"
"Bug Tracker" = "https://github.com/milla-jovovich/mempalace/issues"
[project.scripts]
mempalace = "mempalace:main"
mempalace = "mempalace.cli:main"
[project.optional-dependencies]
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.4.0", "psutil>=5.9"]