Mix flour with butter until the mixture is crumbly. Sprinkle with sugar and salt and add the whole egg and the sour cream. Knead quickly, but don’t work on it for more than a few minutes.
Roll out the dough on a floured board and fold it. Place it in the refrigerator for 30 minutes. Preheat the oven to