[python][pmflow] Improve style, add some, use wrapper helpers

4 jobs for !2681 with feature/python-main-file in 25 seconds (queued for 2 seconds)
Child pipeline (parent) detached
Status Job ID Name Coverage
  Linting
failed python linting #24113

00:00:25

 
  Configure
skipped select tests #24114
 
  Build
skipped build dumux #24115
 
  Test
skipped test dumux #24116
 
Name Stage Failure
failed
python linting Linting
Using configuration from /builds/dumux-repositories/dumux/pyproject.toml.
/builds/dumux-repositories/dumux/test/python/test_gridgeometry.py already well formatted, good job.
/builds/dumux-repositories/dumux/test/python/test_1p.py already well formatted, good job.
/builds/dumux-repositories/dumux/test/python/test_explicit_transport_cctpfa.py already well formatted, good job.
would reformat /builds/dumux-repositories/dumux/test/python/test_fvproblem.py
Oh no! 💥 💔 💥
1 file would be reformatted, 3 files would be left unchanged.
Cleaning up file based variables
ERROR: Job failed: exit code 1