ladybird/pyproject.toml
Shannon Booth 5c69ab992f Tests/LibWeb: Run imported WPT handlers in HTTP test server
Teach the local http-test-server hook to serve non-.py resources through
the vendored wptserve FileHandler instead of SimpleHTTPRequestHandler,
so WPT file features like ?pipe=..., .sub., and WPT .headers processing
work for ordinary resources as well.

Requests ending with .py are also now handled through WPTs python
script handler.
2026-06-06 13:48:43 +02:00

30 lines
602 B
TOML

[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
extend-select = [
"B", # flake8-bugbear
"I", # isort
]
[tool.ruff.lint.isort]
force-single-line = true
lines-between-types = 1
[tool.pyright]
pythonVersion = "3.9"
extraPaths = [
"Meta",
"Tests/LibWeb/Text/input/wpt-import",
"Tests/LibWeb/Text/input/wpt-import/_wpttools",
"Tests/LibWeb/Text/input/wpt-import/_wpttools/wptserve",
]
exclude = [
"**/node_modules",
"**/__pycache__",
"**/.*",
"**/lit.cfg.py",
"Tests/LibWeb/Text/input/wpt-import",
]