diff --git a/pkgs/clan-cli/default.nix b/pkgs/clan-cli/default.nix index 1d05db7d0..c10142b0b 100644 --- a/pkgs/clan-cli/default.nix +++ b/pkgs/clan-cli/default.nix @@ -83,7 +83,9 @@ let include = [ ( _root: path: _type: - (builtins.match "test_.*\.py" path) == null + (builtins.match ".*/test_[^/]+\.py" path) == null + && (builtins.match ".*/[^/]+_test\.py" path) == null + # && (builtins.match ".*/tests/.+" path) == null ) ]; }