We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4d34e commit a2fb6d9Copy full SHA for a2fb6d9
flake.nix
@@ -64,7 +64,6 @@
64
default = pkgs.mkShell {
65
packages = [
66
pkgs.ruff
67
- pkgs.nixfmt-rfc-style
68
(pkgs.python3.withPackages (
69
pyproject.renderers.withPackages {
70
python = pkgs.python3;
@@ -83,19 +82,14 @@
83
82
formatter = forAllSystems (
84
pkgs:
85
pkgs.nixfmt-tree.override {
86
- runtimeInputs = with pkgs; [ ruff ];
+ runtimeInputs = [ pkgs.ruff ];
87
settings = {
88
- on-unmatched = "info";
89
tree-root-file = "flake.nix";
90
formatter.ruff = {
91
command = "ruff";
92
options = [ "format" ];
93
includes = [ "*.py" ];
94
};
95
- formatter.nixfmt = {
96
- command = "nixfmt";
97
- includes = [ "*.nix" ];
98
- };
99
100
}
101
);
0 commit comments