Skip to content

Latest commit

 

History

History
173 lines (165 loc) · 12.2 KB

File metadata and controls

173 lines (165 loc) · 12.2 KB

TODO

Generated by: prefact v0.1.56 Generated on: 2026-05-03T22:01:45.084267 Total issues: 128 active, 28 completed


✅ Completed Tasks

  • mcp-webui/server.py:11 - Unused import: 'annotations'
  • mcp-webui/server.py:69 - Magic number: 303 - use named constant
  • mcp-webui/server.py:64 - Magic number: 120.0 - use named constant
  • mcp-webui/server.py:113 - Magic number: 300.0 - use named constant
  • mcp-skills/server.py:11 - Unused import shutil
  • mcp-skills/server.py:15 - Unused List imported from typing
  • mcp-skills/server.py:15 - Unused Optional imported from typing
  • mcp-skills/server.py:587 - Magic number in comparison: 300
  • mcp-skills/server.py:587 - Magic number: 300 - use named constant
  • mcp-skills/server.py:469 - Magic number in comparison: 500
  • mcp-skills/server.py:633 - standalone main function
  • mcp-skills/server.py:638 - module execution block
  • mcp-git-proxy/server.py:110 - Function 'health' missing return type (suggested: -> Dict)
  • mcp-git-proxy/server.py:115 - Function 'list_repos' missing return type (suggested: -> Any)
  • mcp-git-proxy/server.py:120 - Function 'sync_repo' missing return type (suggested: -> Any)
  • mcp-git-proxy/server.py:31 - Magic number: 200000 - use named constant
  • mcp-git-proxy/server.py:282 - Magic number: 404 - use named constant
  • mcp-git-proxy/server.py:129 - Magic number: 400 - use named constant
  • mcp-gateway/server.py:111 - Function 'health' missing return type (suggested: -> Dict)
  • mcp-gateway/server.py:116 - Function 'list_models' missing return type (suggested: -> Dict)
  • mcp-gateway/server.py:227 - Function 'get_job' missing return type (suggested: -> Any)
  • mcp-gateway/server.py:73 - String concatenation can be converted to f-string
  • mcp-gateway/server.py:20 - Unused Any imported from typing
  • mcp-gateway/server.py:12 - Unused import: 'annotations'
  • mcp-gateway/server.py:20 - Unused import: 'Any'
  • mcp-gateway/server.py:61 - Magic number: 401 - use named constant
  • mcp-gateway/server.py:65 - Magic number: 403 - use named constant
  • mcp-gateway/server.py:129 - Magic number: 404 - use named constant

📋 Current Issues

  • env2mcp/env2mcp/init.py:9 - Relative import (level=1): '.config'
  • env2mcp/env2mcp/init.py:10 - Relative import (level=1): '.github_cli'
  • env2mcp/env2mcp/cli.py:9 - Relative import (level=1): '.config'
  • env2mcp/env2mcp/cli.py:10 - Relative import (level=1): '.github_cli'
  • env2mcp/env2mcp/cli.py:135 - String concatenation can be converted to f-string
  • env2mcp/env2mcp/cli.py:170 - String concatenation can be converted to f-string
  • env2mcp/env2mcp/cli.py:10 - Unused get_github_token imported from github_cli
  • env2mcp/env2mcp/cli.py:3 - Unused import: 'annotations'
  • env2mcp/env2mcp/cli.py:10 - Unused import: 'get_github_token'
  • env2mcp/env2mcp/cli.py:111 - Magic number: 90 - use named constant
  • env2mcp/env2mcp/cli.py:130 - Magic number: 50 - use named constant
  • env2mcp/env2mcp/cli.py:215 - Magic number: 30 - use named constant
  • env2mcp/env2mcp/cli.py:251 - module execution block
  • env2mcp/env2mcp/config.py:117 - Function 'items' missing return type (suggested: -> Any)
  • env2mcp/env2mcp/config.py:8 - Unused Optional imported from typing
  • env2mcp/env2mcp/config.py:3 - Unused import: 'annotations'
  • env2mcp/env2mcp/config.py:8 - Unused import: 'Optional'
  • dashboard/server.py:172 - Function 'main' missing return type (suggested: -> None)
  • dashboard/server.py:23 - Function 'end_headers' missing return type (suggested: -> None)
  • dashboard/server.py:27 - Function 'do_GET' missing return type (suggested: -> None)
  • dashboard/server.py:12 - Unused parse_qs imported from urllib.parse
  • dashboard/server.py:12 - Unused import: 'parse_qs'
  • dashboard/server.py:79 - Magic number: 200 - use named constant
  • dashboard/server.py:179 - Magic number: 50 - use named constant
  • dashboard/server.py:58 - Magic number: 404 - use named constant
  • dashboard/server.py:172 - standalone main function
  • dashboard/server.py:188 - module execution block
  • gh2mcp/gh2mcp/init.py:1 - Relative import (level=1): '.sync'
  • env2mcp/env2mcp/github_cli.py:11 - Relative import (level=1): '.config'
  • env2mcp/env2mcp/github_cli.py:52 - String concatenation can be converted to f-string
  • env2mcp/env2mcp/github_cli.py:3 - Unused import: 'annotations'
  • env2mcp/env2mcp/github_cli.py:172 - Magic number: 30 - use named constant
  • env2mcp/env2mcp/github_cli.py:183 - Magic number: 30 - use named constant
  • env2mcp/env2mcp/github_cli.py:140 - Magic number: 120 - use named constant
  • env2mcp/env2mcp/github_cli.py:122 - LLM-style docstring in login
  • gh2mcp/gh2mcp/cli.py:7 - Relative import (level=1): '.sync'
  • gh2mcp/gh2mcp/cli.py:1 - Unused import: 'annotations'
  • gh2mcp/gh2mcp/cli.py:48 - Magic number: 300 - use named constant
  • gh2mcp/gh2mcp/cli.py:67 - module execution block
  • gh2mcp/gh2mcp/sync.py:425 - String concatenation can be converted to f-string
  • gh2mcp/gh2mcp/sync.py:26 - String concatenation can be converted to f-string
  • gh2mcp/gh2mcp/sync.py:1 - Unused import: 'annotations'
  • gh2mcp/gh2mcp/sync.py:61 - Magic number: 30 - use named constant
  • gh2mcp/gh2mcp/sync.py:155 - Magic number: 500 - use named constant
  • gh2mcp/gh2mcp/sync.py:97 - Magic number: 20 - use named constant
  • git2mcp/client.py:1 - Relative import (level=1): '.git2mcp.client'
  • git2mcp/git2mcp/client.py:7 - Magic number: 120.0 - use named constant
  • git2mcp/proxy.py:1 - Relative import (level=1): '.git2mcp.proxy'
  • llm-agent/agent_git2mcp.py:267 - String concatenation can be converted to f-string
  • llm-agent/agent_git2mcp.py:139 - String concatenation can be converted to f-string
  • llm-agent/agent_git2mcp.py:11 - Unused import: 'annotations'
  • llm-agent/agent_git2mcp.py:131 - Magic number in comparison: 500
  • llm-agent/agent_git2mcp.py:133 - Magic number in comparison: 300
  • llm-agent/agent_git2mcp.py:156 - Magic number in comparison: 500
  • llm-agent/agent_git2mcp.py:360 - module execution block
  • git2mcp/git2mcp/proxy.py:186 - String concatenation can be converted to f-string
  • git2mcp/git2mcp/proxy.py:188 - String concatenation can be converted to f-string
  • git2mcp/git2mcp/proxy.py:1 - Unused import: 'annotations'
  • git2mcp/git2mcp/proxy.py:160 - Magic number: 200000 - use named constant
  • llm-agent/agent.py:362 - String concatenation can be converted to f-string
  • llm-agent/agent.py:11 - Unused import sys
  • llm-agent/agent.py:12 - Unused Path imported from pathlib
  • llm-agent/agent.py:11 - Unused import: 'sys'
  • llm-agent/agent.py:224 - Magic number: 120.0 - use named constant
  • llm-agent/agent.py:333 - standalone main function
  • llm-agent/agent.py:374 - module execution block
  • gh2mcp/gh2mcp/server.py:10 - Relative import (level=1): '.sync'
  • gh2mcp/gh2mcp/server.py:1 - Unused import: 'annotations'
  • gh2mcp/gh2mcp/server.py:30 - Magic number: 30 - use named constant
  • mcp-gateway/test_github_qa.py:24 - Function 'test_render_chat_content_github_qa' missing return type (suggested: -> None)
  • mcp-gateway/test_github_qa.py:35 - Function 'test_run_github_qa_missing_openrouter_key' missing return type (suggested: -> Dict)
  • mcp-gateway/test_github_qa.py:52 - Function 'test_chat_completions_github_qa_model' missing return type (suggested: -> Dict)
  • mcp-gateway/test_github_qa.py:1 - Unused import: 'annotations'
  • mcp-docs/server.py:1 - Unused import: 'annotations'
  • mcp-docs/server.py:205 - Magic number: 400 - use named constant
  • mcp-docs/server.py:207 - Magic number: 404 - use named constant
  • llm-agent/agent_standalone.py:521 - String concatenation can be converted to f-string
  • llm-agent/agent_standalone.py:11 - Unused import sys
  • llm-agent/agent_standalone.py:11 - Unused import: 'sys'
  • llm-agent/agent_standalone.py:276 - Magic number in comparison: 300
  • llm-agent/agent_standalone.py:276 - Magic number: 300 - use named constant
  • llm-agent/agent_standalone.py:189 - Magic number in comparison: 500
  • llm-agent/agent_standalone.py:494 - standalone main function
  • llm-agent/agent_standalone.py:539 - module execution block
  • mcp-gateway/test_gateway_token_command.py:39 - Function 'test_is_github_token_sync_command' missing return type (suggested: -> None)
  • mcp-gateway/test_gateway_token_command.py:44 - Function 'test_is_github_token_sync_command_false_if_explicit_token_value' missing return type (suggested: -> None)
  • mcp-gateway/test_gateway_token_command.py:59 - Function 'test_is_github_token_save_command' missing return type (suggested: -> None)
  • mcp-gateway/test_gateway_token_command.py:1 - Unused import: 'annotations'
  • mcp-gateway/test_gateway_token_command.py:624 - Suspicious function name: fake_load_job
  • mcp-gateway/test_gateway_token_command.py:664 - Suspicious function name: fake_load_job
  • mcp-gateway/test_tool_intent.py:44 - Function 'test_parse_tool_intent_recognizes_tool_and_repo' missing return type (suggested: -> None)
  • mcp-gateway/test_tool_intent.py:67 - Function 'test_parse_tool_intent_returns_none_for_non_tool_prompts' missing return type (suggested: -> None)
  • mcp-gateway/test_tool_intent.py:71 - Function 'test_parse_tool_intent_uses_prompt_ctx_repo_id' missing return type (suggested: -> None)
  • mcp-gateway/test_tool_intent.py:183 - String concatenation can be converted to f-string
  • mcp-gateway/test_tool_intent.py:2 - Unused import: 'annotations'
  • mcp-gateway/worker.py:1 - Unused import: 'annotations'
  • mcp-gateway/worker.py:17 - module execution block
  • mcp-webui/server.py:186 - String concatenation can be converted to f-string
  • mcp-webui/server.py:375 - String concatenation can be converted to f-string
  • mcp-webui/server.py:205 - String concatenation can be converted to f-string
  • mcp-webui/server.py:16 - Unused urlparse imported from urllib.parse
  • mcp-webui/server.py:12 - Unused import: 'annotations'
  • mcp-webui/server.py:16 - Unused import: 'urlparse'
  • mcp-webui/server.py:81 - Magic number: 303 - use named constant
  • mcp-webui/server.py:167 - Magic number in comparison: 200
  • mcp-webui/server.py:295 - Magic number: 303 - use named constant
  • mcp-skills/test_tools_run.py:17 - Function 'server_module' missing return type (suggested: -> Any)
  • mcp-skills/test_tools_run.py:31 - Function 'test_derive_repo_id_from_url' missing return type (suggested: -> None)
  • mcp-skills/test_tools_run.py:39 - Function 'test_supported_tools_registry_has_expected_entries' missing return type (suggested: -> None)
  • mcp-skills/test_tools_run.py:7 - Unused import: 'annotations'
  • mcp-git-proxy/server.py:11 - Duplicate import: urllib
  • mcp-git-proxy/server.py:11 - Duplicate import: 'urllib' (first at line 10)
  • mcp-git-proxy/server.py:127 - Function 'health' missing return type (suggested: -> Dict)
  • mcp-git-proxy/server.py:132 - Function 'list_repos' missing return type (suggested: -> Any)
  • mcp-git-proxy/server.py:137 - Function 'sync_repo' missing return type (suggested: -> Any)
  • mcp-git-proxy/server.py:1 - Unused import: 'annotations'
  • mcp-git-proxy/server.py:35 - Magic number: 200000 - use named constant
  • mcp-git-proxy/server.py:299 - Magic number: 404 - use named constant
  • mcp-git-proxy/server.py:323 - Magic number: 400 - use named constant
  • mcp-skills/server.py:855 - String concatenation can be converted to f-string
  • mcp-skills/server.py:1122 - String concatenation can be converted to f-string
  • mcp-skills/server.py:1141 - String concatenation can be converted to f-string
  • mcp-skills/server.py:17 - Unused List imported from typing
  • mcp-skills/server.py:17 - Unused Optional imported from typing
  • mcp-skills/server.py:26 - Unused CallToolRequestParams imported from mcp.types
  • mcp-skills/server.py:687 - Magic number: 600 - use named constant
  • mcp-skills/server.py:591 - Magic number in comparison: 300
  • mcp-skills/server.py:591 - Magic number: 300 - use named constant

To execute all tasks, run: prefact -a --execute-todos