Fixes after pre-commit-config updates
This fixes a few tests that were affected by !4884 (merged)
- test_tonic: it checks for a specific line that has moved with the reformatting
- diffopts_git and diffopts_ndiff: the
end-of-file-fixerpre-commit checker removed a required empty line at the end of the reference files - make DDDB.Configuration robust against reordering of imports (an alternative to !4886 (merged))