Skip to content

Commit

Permalink
flake.nix: add rstcheck hook
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt committed Mar 21, 2024
1 parent fd5d4a4 commit 67c2277
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@
entry = "${pkgs.ruff}/bin/ruff format";
pass_filenames = false;
};
rstcheck = {
enable = true;
entry = "${pkgs.rstcheck}/bin/rstcheck";
pass_filenames = true;
files = "\\.rst$";
};
};
};
};
Expand Down

0 comments on commit 67c2277

Please sign in to comment.