Fixed formatting

patch generated by https://gitlab.cern.ch/lhcb/DaVinci/-/jobs/17905593
3 jobs for AM_MomentumFunctors in 17 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
passed check-copyright #17905759

00:00:16

passed check-formatting #17905760

00:00:15

passed python-linting #17905761
cvmfs

00:00:16