fix lint issues

This commit is contained in:
Prathap
2026-03-29 16:31:29 +05:30
parent ecc6d6f0bc
commit e3d77548c5
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -25,7 +25,10 @@ from openjarvis.tools._stubs import ToolSpec
_SLACK_API_BASE = "https://slack.com/api"
_SLACK_AUTH_ENDPOINT = "https://slack.com/oauth/v2/authorize"
_SLACK_SCOPES = "channels:read,channels:history,groups:read,groups:history,im:read,im:history,mpim:read,mpim:history,users:read"
_SLACK_SCOPES = (
"channels:read,channels:history,groups:read,groups:history,"
"im:read,im:history,mpim:read,mpim:history,users:read"
)
_DEFAULT_CREDENTIALS_PATH = str(DEFAULT_CONFIG_DIR / "connectors" / "slack.json")
# ---------------------------------------------------------------------------
+2 -1
View File
@@ -226,7 +226,8 @@ class TestChannelToolLoading:
assert system.tools[0].spec.name == "fake"
def test_non_tool_agent_receives_empty_tools(self, tmp_path):
"""JarvisSystem with no tools list results in empty tools — simple agent unaffected."""
"""JarvisSystem with no tools list results in empty tools — simple agent
unaffected."""
config = JarvisConfig()
config.sessions.db_path = str(tmp_path / "sessions.db")