From 6c91cff672e6b5276cc44c3d8cb6addef760ce7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 9 Jul 2024 13:49:42 +0200 Subject: [PATCH] better project root hint --- formatter.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formatter.nix b/formatter.nix index 1cdc3365..a709eb5f 100644 --- a/formatter.nix +++ b/formatter.nix @@ -4,7 +4,7 @@ perSystem = { self', pkgs, ... }: { - treefmt.projectRootFile = "flake.nix"; + treefmt.projectRootFile = ".git/config"; treefmt.programs.shellcheck.enable = true; treefmt.programs.mypy.enable = true;