feat: add ruff to formatters

This commit is contained in:
Thales Menato 2025-01-14 21:03:03 -05:00
parent 9142a5b9dd
commit dcb9b16f81

View file

@ -106,6 +106,18 @@
) )
''; '';
}; };
ruff = {
package = pkgs.ruff;
nullConfig = ''
table.insert(
ls_sources,
null_ls.builtins.formatting.ruff.with({
command = "${cfg.format.package}/bin/ruff",
})
)
'';
};
}; };
defaultDebugger = "debugpy"; defaultDebugger = "debugpy";