Format the code following implementation of new linting rules (analytics)
requested to merge T318346_update_code_following_linting_analytics into T318346_update_code_following_linting
This MR concerns this directory: analytics (+tests).
For a view without code changes, see here: !417 (merged)
Bug: T318346