Personal AI, On Personal Devices
Python
fix: lint fixes for security hardening — line length and import order
Jon Saad-Falcon52f6aaf5bbb0
diff --git a/src/openjarvis/cli/log_config.py b/src/openjarvis/cli/log_config.pyindex 0bdf1a32..5c6f99bf 100644--- a/src/openjarvis/cli/log_config.py+++ b/src/openjarvis/cli/log_config.py@@ -77,7 +77,9 @@ def setup_logging(backupCount=3,)file_handler.setLevel(logging.DEBUG)- file_fmt = SanitizingFormatter("%(asctime)s %(levelname)s %(name)s: %(message)s")+ file_fmt = SanitizingFormatter(+ "%(asctime)s %(levelname)s %(name)s: %(message)s"+ )file_handler.setFormatter(file_fmt)logger.addHandler(file_handler)diff --git a/src/openjarvis/cli/serve.py b/src/openjarvis/cli/serve.pyindex d37b16ef..a236e6b5 100644--- a/src/openjarvis/cli/serve.py+++ b/src/openjarvis/cli/serve.py@@ -356,7 +356,7 @@ def serve(check_bind_safety(bind_host, api_key=api_key)# Log credential status at startup- from openjarvis.core.credentials import get_credential_status, TOOL_CREDENTIALS+ from openjarvis.core.credentials import TOOL_CREDENTIALS, get_credential_status_cred_parts = []for _tool_name in sorted(TOOL_CREDENTIALS):