{"slug":"code-halowerk-com-v1-ruff-7b84fc","title":"Check and format Python code with the real Ruff 0.17.3","host":"code.halowerk.com","method":"POST","resource":"https://code.halowerk.com/v1/ruff","category":"code","description":"Check and format Python code with the real Ruff 0.17.3: diagnostics with rule code, position, docs link and fix safety, plus the Black-compatible formatted source. Runs the official statically linked Ruff 0.17.3 release binary (MIT, SHA-256 checked) in isolated mode (no configuration files) in a res","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":897,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"code":"import os, sys\n\ndef f(x):\n    if x == None:\n        return undefined_name\n    return sys.argv\n","select":["E","F"]},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"code":{"maxLength":1000000,"minLength":1,"type":"string"},"ignore":{"items":{"pattern":"^[A-Z]{1,4}[0-9]{0,4}$","type":"string"},"maxItems":100,"type":"array","uniqueItems":true},"line_length":{"default":88,"maximum":320,"minimum":40,"type":"integer"},"mode":{"default":"both","enum":["check","format","both"],"type":"string"},"select":{"items":{"pattern":"^(ALL|[A-Z]{1,4}[0-9]{0,4})$","type":"string"},"maxItems":60,"type":"array","uniqueItems":true},"target_version":{"default":"py312","enum":["py37","py38","py39","py310","py311","py312","py313","py314"],"type":"string"}},"required":["code"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":906,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":897,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":903,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":893,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":881,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":904,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":895,"error":null}],"description_full":"Check and format Python code with the real Ruff 0.17.3: diagnostics with rule code, position, docs link and fix safety, plus the Black-compatible formatted source. Runs the official statically linked Ruff 0.17.3 release binary (MIT, SHA-256 checked) in isolated mode (no configuration files) in a resource-limited child process without network.","last_updated":"2026-11-20T13:37:12.366Z","schemes":["exact"]}