Files
superset2/tests
Amin Ghadersohi 49c78fbbda fix(mcp): simplify filter-change loop to fix ruff C901 complexity, apply ruff formatting
`update_native_filters_config` hit complexity 11 (limit 10) after the
json.loads guard was added in the previous commit. Pre-build `deleted_ids`
set and `modified_map` dict to replace the two generator-if expressions and
the conditional append, dropping McCabe complexity from 11 to 8. No
behaviour change — tests confirm identical output.

Also apply ruff auto-format to test file (unnecessary parentheses removal).
2026-06-29 17:55:42 +00:00
..