Sift the flour and cocoa and mix together in a bowl.
Place the eggs, a pinch of salt, and the olive oil in a well in the centre of the flour, begin mixing with a fork, then knead with your hands into a soft, smooth pasta dough. Shape into a ball, cover with cling film and set aside to rest for an hour.