Skip to main content
Glama

Trakt

by wwiens
pyproject.toml2.57 kB
[project] name = "trakt-mcp-server" requires-python = ">=3.11" [tool.ruff] target-version = "py311" line-length = 88 exclude = [ ".git", "__pycache__", ".venv", "venv", ".pytest_cache", ] [tool.ruff.lint] select = [ "E", # pycodestyle errors "W", # pycodestyle warnings "F", # Pyflakes "I", # isort "B", # flake8-bugbear "C4", # flake8-comprehensions "UP", # pyupgrade "RUF", # Ruff-specific rules "S", # Security (bandit) "SIM", # Simplify "TCH", # Type checking imports "PERF", # Performance ] ignore = [ "E501", # line too long (handled by formatter) "UP040", # Type alias uses TypeAlias annotation (Python 3.12+ feature) ] [tool.ruff.lint.per-file-ignores] "tests/**" = [ "S101", # Use of assert (legitimate in tests) "S105", # Possible hardcoded password (test data) "S106", # Possible hardcoded password passed to function (test data) "S603", # subprocess call (legitimate in test fixtures) "S607", # Starting process with partial executable path (legitimate in tests) ] "models.py" = [ "S105", # token_type = "bearer" is legitimate OAuth config ] "trakt_client.py" = [ "S105", # AUTH_TOKEN_FILE = "auth_token.json" is legitimate config ] [tool.ruff.format] quote-style = "double" indent-style = "space" skip-magic-trailing-comma = false line-ending = "auto" [tool.pyright] include = [ "**/*.py" ] exclude = [ "**/__pycache__", "**/site-packages/**", "**/.venv/**", "**/venv/**" ] pythonVersion = "3.11" typeCheckingMode = "strict" useLibraryCodeForTypes = true reportMissingTypeStubs = "error" reportUnknownMemberType = "error" reportUnknownVariableType = "error" reportUnknownArgumentType = "error" reportGeneralTypeIssues = "error" reportOptionalMemberAccess = "error" reportOptionalSubscript = "error" reportPrivateImportUsage = "error" reportUnnecessaryTypeIgnoreComment = "none" reportUnnecessaryIsInstance = "error" reportUnnecessaryComparison = "error" reportConstantRedefinition = "error" reportIncompatibleMethodOverride = "error" reportIncompatibleVariableOverride = "error" reportMissingParameterType = "error" reportMissingReturnType = "error" reportUnusedImport = "error" reportUnusedVariable = "error" reportDuplicateImport = "error" reportWildcardImportFromLibrary = "error" reportSelfClsParameterName = "error" reportImplicitStringConcatenation = "error" reportUndefinedVariable = "error" reportAssertAlwaysTrue = "error" reportFunctionMemberAccess = "error" reportUnusedFunction = "error"

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wwiens/trakt_mcpserver'

If you have feedback or need assistance with the MCP directory API, please join our Discord server