make treefmt work with git-worktrees

This commit is contained in:
Jörg Thalheim
2025-07-07 16:55:36 +02:00
parent 10f9e5d11b
commit c0c41d52bd

View File

@@ -4,7 +4,7 @@
perSystem = perSystem =
{ self', pkgs, ... }: { self', pkgs, ... }:
{ {
treefmt.projectRootFile = ".git/config"; treefmt.projectRootFile = "LICENSE.md";
treefmt.programs.shellcheck.enable = true; treefmt.programs.shellcheck.enable = true;
treefmt.programs.mypy.enable = true; treefmt.programs.mypy.enable = true;