mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-10-24 07:10:34 +00:00
The first-party list holds ten scraper plugins, from Google Search to Indeed, each its own MCP server at https://plugins.surfsense.com/<id>/mcp. The host serves a folder under its id with underscores as hyphens, since a package cannot hold a hyphen, reserves scraping/ for the code they will share, and lints plugins/remote/ with ruff's ASYNC rules, since its plugins share each process's event loop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
575 B
TOML
24 lines
575 B
TOML
# One config for everything the plugin host runs: plugins/remote/ is its import root.
|
|
line-length = 88
|
|
target-version = "py312"
|
|
|
|
[lint]
|
|
select = [
|
|
"E4",
|
|
"E7",
|
|
"E9",
|
|
"F", # Pyflakes
|
|
"I", # isort
|
|
"N", # pep8-naming
|
|
"UP", # pyupgrade
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"T20", # flake8-print
|
|
"SIM", # flake8-simplify
|
|
"RUF",
|
|
# Every plugin answers from one process: a blocking call in a coroutine stalls them all.
|
|
"ASYNC",
|
|
]
|
|
|
|
[lint.isort]
|
|
known-first-party = ["host", "mcp_server", "proprietary"]
|