Fix some pylint errors

3 jobs for av-preferences-preview in 2 minutes and 46 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #13469
run-appdata

00:00:08

passed #13468
run-tests

00:02:28

 
  Build
passed #13470
run-build

00:00:09