1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-21 17:59:39 +01:00
home-manager/tests/modules/programs/ruff/ruff.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

26 lines
460 B
Nix

{
programs.ruff = {
enable = true;
settings = {
line-length = 100;
per-file-ignores = {
"__init__.py" = [ "F401" ];
};
lint = {
select = [
"E4"
"E7"
"E9"
"F"
];
ignore = [ ];
};
};
};
nmt.script = ''
assertFileExists home-files/.config/ruff/ruff.toml
assertFileContent home-files/.config/ruff/ruff.toml ${./expected.toml}
'';
}